Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Visual Studio Code 0.10.10 release features a fiesta of Editor improvements, including…
The editor now contains a first implementation of code folding. You can turn the feature on and off with the editor.folding
configuration setting (File > Preferences > User Settings or Workspace Settings). Once enabled, you can collapse and expand code regions using the folding icons next to the line numbers. Regions that can be folded are shown with a -
icon, regions that are already folded with the +
icon. The -
icon only shows when the mouse is over the gutter.
Additionally you can use the following commands from the commands menu (F1) or with keyboard shortcuts:
The folding regions are evaluated solely based on the indentation of each line. This first version does not yet support language agnostic folding regions, or folding markers. This is in discussion for an upcoming release (see issue #3422).
The IntelliSense widget underwent a full rewrite to address some performance problems. It now handles lists of 20,000 extensions in milliseconds, compared to the previous ~10 seconds of lag.
Initiated by user request #1228, we have added indentation status in the editor to help with 'tabs to spaces' conversion and vice versa. The Status Bar shows whether the Tab key will insert spaces or tabs and the current indentation size in characters.
You can adjust the indentation size and toggle between tabs and spaces with three new actions:
There is a new setting editor.rulers
available. For example, setting it to [80, 120]
will display two vertical rulers in the editor, one after the 80th character and one after the 120th character.
A new setting files.eol
controls the default new line character when creating new files. It defaults to \r\n
on Windows and to \n
on Linux and OS X.
Word navigation and word deletion commands updated and now honor a new setting, editor.wordSeparators
, when deciding what is a word, regardless of the current language of the file.
With the adoption of the Salsa JavaScript language service as the default, we could streamline our usage of web workers and now have a dedicated web worker that is language agnostic, which we use for diff computation, link detection or simple textual completions. This reduces the latency of these computations and is memory friendly, as it automatically shuts down when not needed.
Check out all the new features and update to Visual Studio Code v0.10.11:
https://code.visualstudio.com/updates
You’re looking awfully visual and studious today,
– Ninja Ed
Please sign in to use this experience.
Sign in