When using the terminal, it's sometimes useful to open the project we're in
with KDevelop. Running kdevelop . would do this in this case.
If kdevelop isn't running then it uses a fresh instance, if it does it tells
the ones we're using to open the project, just like for files.
Details
Details
- Reviewers
vhanda mwolff - Group Reviewers
KDevelop - Commits
- R32:b8e426be5fe9: Make it possible to open directories from the command line
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
LGTM to me in general.
That's something @cullmann wanted to have for KDevelop, btw. Maybe he's interested in testing? :)
app/main.cpp | ||
---|---|---|
139 | Consistency: info | |
140 | Style: for (const auto& info : ...) | |
500–505 | uinfo -> urlInfo or info | |
765 | Style & naming: for (const auto& initialDirectory : ... | |
app/urlinfo.h | ||
91 | Rather: QFileInfo(...).isDir()? More lightweight I think. |
Comment Actions
I should, but ATM I have not even build all things here ;=) But ++ for the idea ;)
For kate, we do even lookup if there is some file in the current path if we start from a console, but perhaps that would be too much auto-magic for the kdevelop use-case.
app/urlinfo.h | ||
---|---|---|
91 | If you say so... :) |