Visual Studio Code – 14 NEW COMMUNITY IMPROVEMENTS: Render Ligatures, Alt+Z to Toggle Word Wrapping, Build Binary on Linux ARM, & More!


The Visual Studio Code 0.10.8  release features a palpable plethora of improvements, including...

14 COMMUNITY IMPROVEMENTS

A big Thank You! goes out to the following folks that helped to make VS Code even better:

  • mattblagden: Render ligatures 1510.
  • ivanixgamesAlt+Z for toggling word wrapping 1653.
  • krizzdewizz: Windows - honor comspec env variable when spawning a shell 743.
  • EgorMatirov: Support Building binary on Linux ARM 1072.
  • mohsen1: Implement AddSelectionToAllFindMatchAction command class 1202.
  • dstorey: Update css intellisense and css.plist 1217.
  • takumif: Add a keyboard shortcut to focus on the working files pane in the sidebar1433.
  • xaverh: [c++] keyword "noexcept" added 1457.
  • Bigous: Add Shift+Alt+I for adding a cursor at the end of each selected line 1479.
  • bgse: typos of angularjs attributes(directives) 1543.
  • markrendle and glen-84 Implement configurable cursor style 1586.
  • dpodder: [bat] Fix batch tmGrammar 1678.
  • f111fei Fix 'scripts\npm install' bugs in windows7 2118.
  • jkrems fixed navigation around non-basic multilingual plain characters 2071
  
Lets dig into these improvements!
  

mattblagden: Render ligatures 1510.

Enable ligature rendering via the text-rendering style, and account for a client-rect bug in Chromium that resulted in improper editing cursor placement.

The proper fix for this is to get the latest version of Chromium, where the client-rect bug has been fixed. I'm (Matt is) just submitting this pull request in case anyone wants the change in the meantime.

The editor gets a bad rectangle from the DOM when the editing cursor is at the end of the line. Specifically, requesting the coordinates of the right side of the the last character yields an incorrect value.

With just the CSS to enable ligatures, the cursor renders in an incorrect position whenever it's at the end of a line (regardless of whether ligatures are present).

ivanixgamesAlt+Z for toggling word wrapping 1653.

krizzdewizz: Windows - honor comspec env variable when spawning a shell 743.

On Windows, The 'Open New Command Prompt' command does lookup on the %comspec% environment variable instead of using hard-coded 'cmd.exe'. This enables alternate interpreters/shells to be started - such as TCCLE. 

EgorMatirov: Support Building binary on Linux ARM 1072.

Allows use gulp vscode-linux-arm for building Code [OSS Build] binary.

Looks like most functions works at Ubuntu Wily on ARMv7 Chromebook. Used Node.js version is v4.2.3

mohsen1: Implement AddSelectionToAllFindMatchAction command class 1202.

This command is bound to "cmd+ctrl+g" by default. 

dstorey: Update css intellisense and css.plist 1217.

Included in this PR:

First part of modernising css.plist:

  • Big update of CSS properties. Should now include most valid CSS properties.
  • Add missing pseudo elements/classes: fullscreen, placeholder and the input pseudo classes
  • Add missing CSS units
  • Add speech media type
  • Fix comments about colours to point to spec and not incorrect info about being non-standard from W3Schools

Big update to css-scheme.xml for CSS intellisense and generate new JSON file:

  • Add Edge browser support info. Mostly complete except some pseudo classes/elements.
  • Update other browser support to be as close as possible to reality. Some still need to be checked
  • Update specs where appropriate
  • Remove old properties and values that no longer exist
  • Add new CSS properties from almost all CSS specs except old unmaintained spec and a couple of others: CSS Logical Properties and Round Display. SVG CSS properties also still need checking and updating. Especially for browser support.
  • Updated some of the descriptions to be more concise and consistent, and add some missing ones
  • Update at-rules: @keyframes and @supports

takumif: Add a keyboard shortcut to focus on the working files pane in the sidebar 1433.

This adds a keyboard shortcut to focus on the Working Files view in the Explore Viewlet, as requested by issue #435. The shortcut works only if the Explore Viewlet is visible (another option is to open the viewlet even if the sidebar is hidden or another viewlet is visible, but I didn't do that for now).

I've mapped Cmd+9 to the shortcut, since Cmd+0 focuses on the directory explorer view.

xaverh: [c++] keyword "noexcept" added 1457.

C++11 added keyword "noexcept" to the standard which was missing in the syntax file yet.

Bigous: Add Shift+Alt+I for adding a cursor at the end of each selected line 1479.

Inspired by issue #950 and pull #961
At Sublime I'm a big fan of ctrl+l (line select) and ctrl+shift+l (unselect and set multiple cursors at the end of each line selected).
I've made a VSCode extension with this 2 features about 2 weeks ago... 
But as the feature of LineSelection was incorporated to the VSCode itself and was released yesterday, I thought it would be nice to have both features at the VSCode itself.
 
So, I've made this little PR to set ctrl+alt+i to this action (sadly ctrl+l is used by another core feature and the chosen key combination for line selection was ctrl+i... ctrl+shift+i opens chrome dev tools inside VSCode, so I've chosen ctrl+alt+i to this feature).
Hope it helps people that are migrating from Sublime to VSCode like me 😉 - Bigous

bgse: typos of angularjs attributes(directives) 1543.

Fixed typos in htmlTags.ts angular globalattributes as per Angular API reference, fixes Microsoft/vscode#1402.

markrendle and glen-84 Implement configurable cursor style 1586.

With acknowledgements to @Protectator and his configurable blinking (#500), I've tried to do something similar to allow the cursor style (i.e. line or block, at present) to be configured.

Right now, the setting is configurable from editor.config, but with the right method somewhere(?) this could also be over-ridden by Vim mode plugins such as VsCodeVim to switch between cursor styles for Normal and Insert modes (see VSCodeVim/Vim#19 and #200). - markrendle

block/block-thin/block-hollow/block-outline:

? {
    background: transparent;
    border: 1px solid;
    box-sizing: border-box;
    position: absolute;
    width: 1ch;
    cursor: text;
}

dpodder: [bat] Fix batch tmGrammar 1678.

Fixes some issues with batch syntax, addressing #487

  • rem comments are properly detected
  • variables are properly parsed, including
    • %regular_variables%
    • !delay_expanded_variables!
    • Script parameters (%1%~dp0, etc.)
    • Loop induction variables (%%f%%~nxf, etc.)
  • Incomplete strings now terminate at end of line, fixing cases like the following:
 echo incomplete " string
 echo broken line, treated as string

f111fei Fix 'scripts\npm install' bugs in windows7 2118.

I use scripts\npm install to install vscode. But some native node modules (e.g weak native-keymap) can`t startup.

I found that the problem was setting npm_config_target failed.

ConvertFrom-Json is introduced in Windows PowerShell 3.0. but my powershell`s version is 2.0.0.

https://technet.microsoft.com/en-us/library/hh849898.aspx

so I try to use findstr replace poweshell to setting npm_config_target.

jkrems fixed navigation around non-basic multilingual plain characters 2071

I felt bad touching the other test cases but it was the most minimal change to the suite I could come up with. This doesn't address some other, related issues like "8 selected" in the status bar when there are actually only 7 "real" characters in the selection.

Fixes #2069

 
 
And so one last Thank You goes out to mattblagdenivanixgameskrizzdewizzEgorMatirovmohsen1dstoreytakumifxaverhBigousbgsemarkrendleglen-84dpodderf111fei, and jkrems! Thank you for helping the VSC community!

      

Check out all the new features and update to Visual Studio Code v0.10.9:

https://code.visualstudio.com/updates

    

Have a goodbye! 
   - Ninja Ed
Comments (1)

  1. FEAUTRED BLOG POSTS:

    =======================

    Computers Today (part 1 of 6):

    blogs.msdn.com/…/computers-today.aspx

    =======================

    Girls in computer programming… why it matters!!!

    blogs.msdn.com/…/cs-spotlight-girls-in-computer-programming-why-it-matters.aspx

    =======================

    Why should I teach Java in Visual Studio Code?

    blogs.msdn.com/…/why-should-i-teach-java-out-of-visual-studio-code-instead-of-out-of-eclipse-or-netbeans.aspx

    =======================

    Computational Thinking – by Jeannette Wing:

    blogs.msdn.com/…/computational-thinking-videos-amp-papers-by-jeannette-wing.aspx

Skip to main content