This question already has an answer here:
VSCode Open new view into file
(1 answer)
Closed 2 years ago.
Is there a way in Visual Studio Code to have multiple instances of the same file open, but without splitting the view?
(Sublime editor achieves this with "File > New View Into File")
Just press the icon next to the ... Icon (It looks like a split window), or press Ctrl + \*. I hope this answered your question! :D
Edit: Sorry, I didn't read the whole thing since I came to this post from the best text editor article, lol. I don't think there is a way of doing that. Though I think you can make it yourself if you want to.
Related
This question already has answers here:
How do I turn on text wrapping by default in VS Code
(10 answers)
Closed last year.
The code in Vscode is not entering a new line on auto as I write across. It just keeps going sideways making it hard to see all the code.
Go to View then enable Word wrap.
This question already has answers here:
vscode disable empty folders (parent/child folders) merge/collapse/inline
(3 answers)
Closed 2 years ago.
This makes me crazy! It should be trivial but I cant find in settings how to get back the old look in the file explorer window. Well it's not that old, it was just a few weeks ago.
First image shows what I want and the second image shows what I have now. To be clear I don't want the folder structure to show up like this:
routes \ admin
or
views \ admin
I want it to look like in the first image.
The question is how to get it back so it looks like in the first image. What setting is it?
In visual Studio Code.
Ctrl + Shift + P (to open the command pallete)
Type Open Settings (UI) and press Enter
On the Settings search box, type Compact Folders and uncheck the checkbox
This question already has an answer here:
Shrink down empty directories explorer in VSCode? [duplicate]
(1 answer)
Closed 3 years ago.
Recently the layout of how folders inside of folders are being displayed on my editor in the left panel has changed and I was looking for a way to change it back.
Currently I see this sort of layout where menu-item is a folder inside of the components folder but is on one line like components/menu-item
I would prefer it being displayed like how the page folder is being displayed under the src folder. I have looked in VS code settings but so far but did not see any such option to change the layout. Any help is much appreciated.
You're looking for Explorer: Compact Folders. Disable it.
"explorer.compactFolders": false
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Moving and vanishing lines of code; trouble with Eclipse's XML Editor
I have dev enviroment setup for Android development.
Problem arises when scrolling. Source code starts to appear with missing parts (like scroll event didn't correctly refresh view). When I select text, it restores it and after deselecting it becomes missing again.
I have dual monitors on win7, but this happens no matter dual display or single display.
Any ideas?
Tnx in advance.
This problem could potentially be solved by following the steps in this answer : Moving and vanishing lines of code; trouble with Eclipse's XML Editor
In short "Automatically format the XML edited by the visual layout editor" might be the source of the problem.
This question already has an answer here:
How can I get Eclipse to scroll past the bottom of the document?
(1 answer)
Closed 5 years ago.
I would like to be able to scroll further down in Eclipse, below the last line of content in the file.
A lot of editors/IDEs support this, IntelliJ and TextPad, for instance. Vim if enabled.
It's a bit annoying having to put 20 empty lines in the bottom of every file in order for the code I'm writing to appear in the middle of the screen.
Any suggestions?
I've only found a few hits on Google, that are old. And I'm not sure what this is named, so if you have a word for it please tell, as it will help me in my search.
As it seems it's not possible at the moment, I would like suggestions on how to best overcome this issue.
Thanks.
This is a known limitation, and there is a bug opened for this - https://bugs.eclipse.org/bugs/show_bug.cgi?id=362540. You can add your thoughts to the bug.