Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrizio Iannetti2021-03-04 19:22:02 +0000
committerJonah Graham2021-04-12 20:04:07 +0000
commite6d5c634b9f4f50ebaa52b7b212e0095b10fe4ea (patch)
tree06072d7935ac489be066cb4271c699a6df7ab16d /core/org.eclipse.cdt.core.native
parent104819751ca24b85d1636322bb4132c38ea5ed30 (diff)
downloadorg.eclipse.cdt-e6d5c634b9f4f50ebaa52b7b212e0095b10fe4ea.tar.gz
org.eclipse.cdt-e6d5c634b9f4f50ebaa52b7b212e0095b10fe4ea.tar.xz
org.eclipse.cdt-e6d5c634b9f4f50ebaa52b7b212e0095b10fe4ea.zip
Bug 563015: terminal: open files/links with ctrl-click
- hover with ctrl+mouse underlines word under cursor - ctrl-click tries to open the word: - if a relative path (not starting with /) a full path is obtained by prepending the shell cwd - if the fullpath maps to a workspace file, it is opened - otherwise open the OpenResource dialog with the word as filter text - if there is line/column information (separated by colons) then the opened editor jumps to that line - http and https words are opened in a browser window Change-Id: I3f46accbf1eac6743d7b0c3b34bf30ac5e7523bb Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com> Also-by: Jonah Graham <jonah@kichwacoders.com> Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
Diffstat (limited to 'core/org.eclipse.cdt.core.native')
-rw-r--r--core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java b/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java
index 27329bb630c..0f49b5eea67 100644
--- a/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java
+++ b/core/org.eclipse.cdt.core.native/src/org/eclipse/cdt/utils/spawner/Spawner.java
@@ -286,6 +286,11 @@ public class Spawner extends Process {
}
}
+ @Override
+ public long pid() {
+ return pid;
+ }
+
/**
* On Windows, interrupt the spawned program by using Cygwin's utility 'kill -SIGINT' if it's a Cgywin
* program, otherwise send it a CTRL-C. If Cygwin's 'kill' command is not available, send a CTRL-C. On

Back to the top