-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update C/C++ grammars to files used by VSCode #6937
Conversation
This reduces excessive CPU usage on Windows and reducing latency for all Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
- On Windows, `FileSearchService`.find now returns valid file URIs as it already did on linux. - Use LabelProvider to create tooltip field for quick open entries. - Allow Windows users to search for file paths using either '/' or '\\'.
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Bogdan Stolojan <petre.stolojan@arm.com> Renaming property Signed-off-by: Bogdan Stolojan <petre.stolojan@arm.com>
Signed-off-by: Rob Moran <rob.moran@arm.com>
Calling `contributionProvider.getContributions` in the constructor was throwing errors because some of the contributions inject the LabelProvider.
This allows toolbar items to show content specific to the current widget. For example, a toolbar item for the terminal could show a message specific to the currently displayed terminal tab. Signed-off-by: Matthew Gordon <matthew.gordon@arm.com>
The previous implementation did not work because the window was unloaded before the dialog could be opened. This implementation gets around some… unusual behaviour of Electron's beforeunload event by using the will-prevent-unload WebContents event.
If a second instance is opened, it closes immediately and the original instance receives focus. Signed-off-by: Matthew Gordon <matthew.gordon@arm.com>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
Signed-off-by: Nigel Westbury <nigelipse@miegel.org> Clean up css class names and other code review changes
Signed-off-by: Nigel Westbury <nigelipse@miegel.org>
The version of TypeScript and @types/react used in mbs-ide are not compatible with the `event` type replaced by this commit. This commit can be reverted from ARMmbed/theia when: - Theia updates TS or @types/react such that the original code compiles - mbs-ide no longer uses @theia/scm in its workspace.
Shut down Mercurial command servers after 10 seconds of inactivity Clean out unneeded code Added test for HgCommandServer utils.
…er provider type.
Minor touches suggested by Kanthan
Signed-off-by: thegecko <rob.moran@arm.com>
Signed-off-by: Federico Bozzini <federico.bozzini@arm.com>
MessageService is not available outside of a connection container context, so using the default init would fail.
… 2166-hg-branches
IOTIDE 2166: hg branches
For Hg now WorkingDirectoryStatus.currentHead is Branch.tip.sha
Amend support does not work in many edge-cases, this disables amend for Hg leaving the code in-place inside HgScmProvider to be re-enabled when everything will be fixed.
Implemented Hg.createBranch() and removed Hg.checkout() after hg.createBranch() call.
* Fixed forget operation Signed-off-by: Federico Bozzini <federico.bozzini@arm.com> * Substituted forget operation with discard Signed-off-by: Federico Bozzini <federico.bozzini@arm.com> * Discard operation prevent from creating a backup file Signed-off-by: Federico Bozzini <federico.bozzini@arm.com>
Signed-off-by: Rob Moran <rob.moran@arm.com>
Signed-off-by: Federico Bozzini <federico.bozzini@gmail.com>
Signed-off-by: Rob Moran <rob.moran@arm.com>
Fix repository switching in history view
I think this might have been mistakenly committed 🙈 |
@vince-fugnitto Yes, that was a mistake. It will be rebased on top of master Theia and then reopened :) |
Please note that |
What it does
Update cpp package to use vscode grammar files as defined here:
https://github.com/jeff-hykin/cpp-textmate-grammar
https://github.com/microsoft/vscode/tree/master/extensions/cpp/syntaxes
How to test
Open a C/C++ file and enjoy a richer syntax colourisation.
Review checklist
Reminder for reviewers