question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dev UI: open code in IDE should use IDE path from scanning processes

See original GitHub issue

ATM we scan the processes to find which IDE to use, but then we discard the running process command, and invoke idea or eclipse hoping it’s in the user’s $PATH, which turns out is not necessarily true, for people with multiple versions of each IDEs.

It would be nice if the scanning of processes returned the exact IDE command path and we used that instead of relying on $PATH.

CC @geoand

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
saumya1singhcommented, Mar 29, 2021

Is someone working on this or should I take it?

Sure, These days, I am exploring Prod Stuff so not working on this 😃

1reaction
maxandersencommented, Mar 15, 2021

on first hand this does looks interesting but please be aware that wont work if using osx Applications. i.e. if you call the eclipse executable directly on osx it will launch a new instance, not reuse the existing already running eclipse.

I dont know if same goes for other IDE’s, but I can very well imagine that there is a shell / batch wrapper to handle reusing logic thus using the command listed in process table is not a sure thing.

I would say it could be used if and only if no matching binary/script is found in the PATH.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scanning in integrated development environments
These instructions explain how to scan source code using the static analysis plug-in after it has been installed to the Eclipse, IntelliJ IDEA,...
Read more >
Web IDE - GitLab Docs
The Web Integrated Development Environment (IDE) editor streamlines the process to contribute changes to your projects, by providing an advanced editor with ...
Read more >
User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings. On macOS -...
Read more >
Using the Eclipse IDE for Java programming - Tutorial
Now run your code. Either right-click on your Java class in the Package Explorer or right-click in the Java class and select Run-as...
Read more >
Modern IDEs are magic. Why are so many coders still using ...
A few years ago when I used PyCharm for Python development, ... That said, if you're new to programming, a modern IDE could...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found