gaqgreatest.blogg.se

Visual studio code soft wrapping
Visual studio code soft wrapping










visual studio code soft wrapping

Obviously, manually opening the User Setting file and editing the editor.wrappingColumn value was going to get old quickly. Setting this to 0 turns on viewport width wrapping Softwrap the Visual Studio Code Extension Controls after how many characters the editor will wrap to the next line. The default value is 300 and if you take a look at the default settings you will find the following comment which specifies setting the editor.wrappingColumn value to zero will cause a line wrap equivalent to a “soft wrap”: To enable Soft wrap in VS Code you have to open your user settings file ( open command pallet, type ‘settings’, select ‘Open User Settings’) and add the following line: So I reach out on twitter and got a response from Errich Gamma. Even Google/Bing didn’t come up with any results. I looked around a bit but couldn’t find any information on how to wrap the text lines. As I have started to use it more often, especially for editing text files and Markdown, I noticed that it was missing a “soft wrap” feature for wrapping lines of text, which made it hard to read long lines without having to scroll. VS Code is still in beta so they are adding features all the time. There are some other great features it has borrowed from Visual Studio that make it an attractive choice such as IntelliSense, debugging, and Code Lens. So far I am very impressed with speed but I also get the syntax highlighting out of the box that I was missing from other editors. Visual Studio Code was announced just last year and has had some great momentum as an editor and so I had to take a look at it for my quick editing experience. Sure I can set it up with great tooling like Omnisharp but that’s an extra thing I have to configure, even if it is made easy with tools. NET developer, I find that most of the editors don’t have great out of the box support for C# syntax. I have always used NotePad++ for quick edits because of the speed at which it opens files and I currently use Atom to write my blog posts as it has support for Jekyll.

visual studio code soft wrapping

A second editor always comes in handy when working on a configuration files, text files or maybe just peeking at code in another project.

visual studio code soft wrapping

I use Visual Studio for most of my development work but I have always had a second editor that was smaller, lightweight and fast, to help accomplish those quick one off edits. NOTE: This extention is no longer needed.












Visual studio code soft wrapping