Comments (11)
you can do that already, just select the location of your cargo file as the project root
from rustdt.
If this is the case, then I think at least a tip in the dialog window and a pop-up window detecting a pre-existing project and asking for importing would be needed.
Alternatively, provide a separate "Create from existing"-style menu option.
from rustdt.
uhm... I was under the impression that the way it is in RustDT it is how it's done in eclipse in general
from rustdt.
see http://stackoverflow.com/a/9280568/1103681
from rustdt.
At least for Eclipse CDT (C/C++), there is an explicit "File"->"New"->"Makefile Project with Existing Code"
Why this? Usually, Eclipse generates its own Makefile, that might overwrite the original Makefile (or not use it at all, thus making all the configuration therein useless).
from rustdt.
well... that assumes Cargo.toml
is an equivalent to a Makefile
. But Cargo.toml
is more of a .project
file than a Makefile
. If the File->New->"With Existing Cargo.toml" does the same as selecting the location, then i vote for not offering both, as users might expect one to behave differently from another
from rustdt.
Eclipse told me that I can't do that because that folder had already some
content.
Am 27.02.2015 12:37 schrieb "Oliver Schneider" [email protected]:
you can do that already, just select the location of your cargo file as
the project root—
Reply to this email directly or view it on GitHub
#8 (comment).
from rustdt.
@oli-obk If Cargo.toml is the equivalent of a .project, then there is already the option: "File"->"Import"->"Existing Projects into Workspace" that should be used.
from rustdt.
@NobbZ What is the exact error message? Did you use the Rust / Rust Cargo Project
wizard?
@oli-obk I originally thought about a mechanism that would automatically make any Eclipse project a RustDT project if a Cargo.toml file was added or removed, but there was some technical issues with that so it didn't make it in initial release.
from rustdt.
didn't know that was possible. Although cool, I assume since most people don't know about it, they would still wonder how to import projects.
from rustdt.
I've added that note the UserGuide: https://github.com/RustDT/RustDT/blob/latest/documentation/UserGuide.md#project-creation
from rustdt.
Related Issues (20)
- Preferences appear to be per workspace, not global HOT 2
- Installation conflicts with Eclipse 4.6.2 and RustDT 0.8 HOT 1
- CargoManifest_Test test failure, in Fedora
- cargo check not working HOT 4
- Project future HOT 2
- Attach gdb to pid HOT 1
- [GDB] Breakpoints don't work - "warning: can't find symbol" HOT 8
- "error: no such subcommand: `check`" after every file save HOT 2
- Project Wizard: allow customizing `cargo init` command with no VCS creation, or other options. HOT 1
- GNU-ARM-ECLIPSE integration/support HOT 5
- No brackets completion of '(' and '[' HOT 1
- Support xargo cross compilation HOT 5
- Add "Download..." button to get proper Rust sources
- The `No build targets available for project.` error for all the projects in the workspace. HOT 5
- Unable to read repository at https://rustdt.github.io/releases/content.xml. HOT 4
- resolved errors not cleared in editor window HOT 4
- Master branch tests failed HOT 3
- Cannot find generated executables HOT 4
- Support for non MinGW Windows binaries debugging
- RustDT does not work with Java 9 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustdt.