[NFBCS] Using Visual Studio with a Braille Display

dan.tevelde at comcast.net dan.tevelde at comcast.net
Mon Jan 3 18:14:40 UTC 2022


Hi Paul,

 

This is extremely useful information. The school uses Vscode unfortunately. It runs inside the Ubantu Linux distribution. When I start Windows the computer starts NVDA and then the Linux distribution. You are the first person who has not told me to use a different editor. As much as possible I try using the same technology sighted people do.

 

Dan

From: Paul York <paul at yorkfamily.com> 
Sent: Monday, January 3, 2022 11:12 AM
To: NFB in Computer Science Mailing List <nfbcs at nfbnet.org>
Cc: dan.tevelde at comcast.net
Subject: Re: [NFBCS] Using Visual Studio with a Braille Display

 

At least by default, the Home key has a "toggle" function. The first tap moves to just before the first character of a line (i.e., indented). The second moves to the first column of the line (i.e., unindented). The End key always moves to after the last character on the line. So an easy strategy to always get the cursor to just before the first character of a line regardless of your current position is just to tap End followed by Home.  Note that this also works on empty lines if you want to make sure your cursor is at the same level of indentation as the line above. And a strategy for getting to the first column reliably is just End then Home then Home.

 

Other nice shortcuts that not everyone knows:

 

 - Ctrl + Right Arrow or Ctrl + Left Arrow to skip to the start of the next or prior word. But this is smarter than normal as it treats delimiters like quotation marks and parentheses as words (very helpful for coding).

 - F7 should always return you to the code window if you find your focus elsewhere.

 - F2 will rename a variable or function name everywhere it is used.

 - Ctrl + X with no selection will cut an entire line of text to the clipboard (or delete it if you don't wish to paste it).

 - Shift+Down Arrow or Shift + Up Arrow selects a line. End then Home then Home then Shift + Down Arrow will reliably select entire line(s).

 - Alt + Down Arrow or Alt + Up Arrow will move an entire line of code up or down. Will also move an entire selection up or down so combine with the above for useful code reorganization.

 - Ctrl + E then C will comment out an entire line (or selection) of code.

 - Ctrl + E then U will uncomment an entire line (or selection) of code.

 

Step through the "View" menu to find shortcuts to useful "panels", especially the Solution Explorer and Error List.

 

Note that this is for Visual Studio, NOT the confusingly similar Visual Studio Code. VSCode is slightly different, though most of the above will still apply.

 

Hope you find it helpful. Good luck with your class!

 

 

 

 

On Mon, Jan 3, 2022 at 11:24 AM dan TeVelde via NFBCS <nfbcs at nfbnet.org <mailto:nfbcs at nfbnet.org> > wrote:

Hello All,



I am attending a technical program for web design. Right now I am using
Visual Studio to write JavaScript. For the most part I find the editor
accessible and it has some really useful features. I use a Mantis Braille
display which works well most of the time. I am having some issues with
cursor routing when I try moving the cursor to the beginning of the line. I
could press the home key but then I would be past the text I want to edit.
If I route the cursor sometimes focus leaves the editor window. I hope
someone can help.



Thanks,

Dan

_______________________________________________
NFBCS mailing list
NFBCS at nfbnet.org <mailto:NFBCS at nfbnet.org> 
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for NFBCS:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/paul%40yorkfamily.com



More information about the NFBCS mailing list