Make spyPart shortcut attribute optional#2326
Open
vogella wants to merge 2 commits intoeclipse-pde:masterfrom
Open
Make spyPart shortcut attribute optional#2326vogella wants to merge 2 commits intoeclipse-pde:masterfrom
vogella wants to merge 2 commits intoeclipse-pde:masterfrom
Conversation
Test Results 126 files ±0 126 suites ±0 35m 37s ⏱️ + 2m 58s Results for commit b9bee88. ± Comparison against base commit 5c5792d. This pull request removes 1 test.♻️ This comment has been updated with latest results. |
4fd0d70 to
e5ecc06
Compare
The shortcut attribute on the org.eclipse.pde.spy.core.spyPart extension point is not declared as required in its schema, but SpyProcessor would NPE when a contribution omitted it (keySequence.equals in bindSpyKeyBinding). Skip key-binding registration when no shortcut is provided so a spy can opt into discoverability via the spy stack toolbar without claiming a global keystroke.
e5ecc06 to
84b6d63
Compare
Watch the workspace file backing the active target definition and trigger LoadTargetDefinitionJob whenever its content is modified, so edits made through the editor, refactorings, or a git pull no longer require a manual "Reload Target Platform". Also record the file's modification timestamp on every load and, on workspace startup, compare it against the current value to catch changes made while the IDE was closed (covering both workspace .target files and external file: handles, which resource deltas cannot observe).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
shortcutattribute on theorg.eclipse.pde.spy.core.spyPartextension point is not declared as required in its schema, butSpyProcessorwould NPE when a contribution omitted it (keySequence.equalsinbindSpyKeyBinding). This skips key-binding registration when no shortcut is provided, so a spy can opt into discoverability via the spy stack toolbar without claiming a global keystroke.