3 ms·
> I can directly see which lines have changed in VS Code on the left site of a file. VS has this too. Except, by default, it is on the right side of the editor
by erikbye 10y ago
> I can directly see which lines have changed in VS Code on the left site of a file.
VS has this too. Except, by default, it is on the right side of the editor. Uncommitted is in yellow. The white "marker" or hyphen, moves with the line number your cursor is on. Just like in VS Code.
You can also see commits on each function and class, by author and date.
You can right click each commit and view details for that commit, or send an email to the author.
https://s17.postimg.org/of5tv8lcf/image.png https://s17.postimg.org/of5tv8lcf/image.png
> You can add multiple cursors by Alt + Left mouse button in VS Code. This allows to even modify multiple words in one line simultaneously.
In VS you can hold alt + shift and use arrow keys to select the number of lines you want to edit simultaneously, but looks to not be possible to place several cursors on a single line.
Still, VS has a lot more features going for it that are very powerful. And besides, most people who argue a text editor vs IDE and place importance on text editing speed, forget that it is about quality code, not how fast you wrote that code.
The few lines of code the average developer writes a day makes text editing speed of very little importance.
- jhasse 10y ago> VS has this too. Except, by default, it is on the right side of the editor. Uncommitted is in yellow. The white "marker" or hyphen, moves with the line number your cursor is on. Just like in VS Code. > > You can also see commits on each function and class, by author and date. Both not working for me. Are you sure that this also works with C++ code?
- erikbye 10y agoOk, so I tried it out. You have the same Git stuff (color markers) on the sides of the editor for C++. I tried both the Community edition (2015) of VS and Enterprise (15, preview 5). But, the number of references, authors, etc, above functions and classes, seems limited to C#.
- jhasse 10y agoThanks :) Git markers are still not working here, don't know why. (Tried VS 2013 Community and 2015 Community)