Is it possible to drag selected text to move it? This is in almost every other editor (not to mention text input fields in browsers.) I was surprised not to find it in VS Code.
Here is a gif example.
This is now supported as of Feb 2017 release (1.10.1) but it is disabled by default.
To enable it: Go to File > Preferences > Settings and add this line "editor.dragAndDrop": true
Source: https://code.visualstudio.com/updates/v1_10#_preview-drag-and-drop-selected-text
Looks like it's not yet implemented, but there's an open issue about it.
If you want to help without diving into the internals, go 👍 the issue to add to its social signal.
I don't believe so. Their site says that it is keyboard-optimized and keyboard-centric, so their idea might be that you should highlight some text, cut it, and past it where you want it rather than dragging it.
I talk about this problem on Github Microsoft page and Microsoft engineers see this. I hope to solve it. (Please support by 👍 on this page.)
Related
Is it possible to show the last modified date for each file and folder in the Explorer window of VS Code? If it's not possible by changing the settings, are there any extensions that do this?
I use macOS but am interested in solutions on macOS/Windows.
I'd like to jump in with a link to the best solution I found so far (and a link to the original repository, in case the link to marketplace changes).
But the ultimate solution (I think) would be to show that info in the status bar - I will hopefully remember to update this answer if I ever come across such a solution!
I use the VS Code filesize extension. It shows the size of the file in the bottom status bar. If you click on this size figure you will immediately see a table with the date of file creation and the date of the file update like the following:
There appears to be a whole array of extensions available nowadays, for such matter:
It seems the button to change the settings from the UI editor to json editor has moved somewhere and I can't find it. Where is it now? I simply want to migrate my settings from another computer and previously I have done so with copy&paste.
Thank you.
Is that what you are looking for?
I wonder, if there is an Eclipse plugin for code birdview (preview, visualization, minimap, however it may be called)? I mean, when you see your code in a small preview window and may scroll using this window. Wait, I'll show you...
Like this. (See the column, where the white rectangle is).
Here is "Overview" plugin from a deleted by a mod answer that provides a minimap view.
(I don't see a reason for deletion, it's exactly what OP asked for).
I saw this question again today, and found someone working on such a plugin on github. I have no idea how far progressed this project is, but it may be worth checking out:
https://github.com/apauzies/eclipse-minimap-view
Hope this helps!
Minimap is now present in Eclipse starting version 4.9
Official link to the feature
The problem: How do I change the font in the instruction text box in an MIT Scratch project page. For example: make a line of text standout in bold. I believe it maybe done through editing the html code that is behind the box as I found a read only editor button that displays the code for the box. Unlike say a cell in Ipython you cannot simply surround text with tags. It seems such a simple problem but I have not found the solution yet.
Sorry, you can't do it.
The only thing you can do is to search for special font-characters and paste them in the Instruction text-box
For a day or two fairly recently this was allowed from a bug, but that bug was fixed and it's now impossible.
It's possible to change the HTML code, but that changes would only seen by you, and nobody else. There isn't a way to do it.
I use an older plugin called Veloeclipse for editing Velocity templates in Eclipse. There's been no development on this since 2009, which isn't a problem because it's mainly just for syntax highlighting and format validation. The really annoying thing about it, however, is that when I try to do Show In to view the current Velocity template within my Package Explorer or Project Explorer, the only available option is Properties. That's not really useful. I really need to be able to get to the file in one of the regular explorer views.
So I have sort of two questions:
Is there a way to configure this without having to monkey with any code? A configuration file or something? I've grepped through my Eclipse installation and haven't seen anything, but I'm hoping that there's something I'm missing.
So assuming that the answer to my first question is no, how do I go about modifying the plugin code so that it will show more than the Properties view in the Show In menu? Most of what I found on the plugin development wiki comes from the other direction: how to make your view or perspective appear in the Show In menu.
Any help with this would be hugely appreciated!
Try to check the plugin source code. it might do something different than other editors. What I mean is that the show in menu item that you have there is not the usual extension point but a hard coded context menu option.