I had to fork VS Code to implement some features that would not be possible using VS Code’s Extension API.
-
Chorded Snippets — This allows me to type words by smashing multiple keys at once. For example, if I define this snippet:
"const": { "prefix": "nst", "chorded": true, "body": [ "const " ] },
Note the
"chorded": true
directive. Now, if I smashed the nst keys simultaneously (order doesn’t matter, but both 3 keys must be pressed at the same time) it will activate the snippet. -
Rainbow Strings — I prefer strings to be colorful, so in this fork if you set a text color to a magic color,
#fefeff
, then it turns into a rainbow."editor.tokenColorCustomizations": { "strings": "#fefeff" },
-
Rotating Cursor — The cursor rotates when moving up and down. This requires the
editor.cursorSmoothCaretAnimation
setting to be turned on.
- Chords:
fun
→function$1 () {}
,con
→console.log($1)
,ret
→return
,fal
→false
- Rainbow strings (
'Hello'
)
-
Clone this repository.
-
Yarn.
yarn
-
Build (for macOS).
yarn gulp vscode-darwin
VS Code is a type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. It provides comprehensive editing and debugging support, an extensibility model, and lightweight integration with existing tools.
VS Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on VS Code's website. To get the latest releases every day, you can install the Insiders version of VS Code. This builds from the master branch and is updated daily at the very least.
The vscode
repository is where VS Code is developed and there are many ways in which you can participate in the project, for example:
- Submit bugs and feature requests and help us verify as they are checked in.
- Review source code changes.
- Review the documentation and make pull requests for anything from typos to new content.
If you are interested in fixing issues and contributing directly to the code base, please see the document How to Contribute, which covers the following:
- How to build and run from source
- The development workflow, including debugging and running tests
- Coding Guidelines
- Submitting pull requests
- Contributing to translations
Please also see our Code of Conduct.
- Ask a question on Stack Overflow.
- Request a new feature on GitHub.
- Vote for Popular Feature Requests.
- File a bug in GitHub Issues.
- Tweet us with any other feedback.
Many of the core components and extensions to Code live in their own repositories on GitHub. For example, the node debug adapter and the mono debug adapter have their own repositories.
For a complete list, please visit the Related Projects page on our wiki.
Code ships with a set of extensions. These extensions are located in the extensions folder. These extensions include grammars and snippets for several languages. Extensions that provide rich language support (code completion, go to definition) for a language have the suffix 'language-features'. For example, the 'json' extension provides coloring for JSON and the 'json-language-features' provides rich language support for JSON.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.