I am consulting you since I am dealing with something that bothers me about VSCode.
We are currently creating an application which is supposed to run locally so we do have a lot of base64 lines in our code. As you can imagine, these strings are quite large:
This is problematic for me (and my co-workers) since we are interested in this light-weight "Visual Studio"-like editor but can not avoid this line breaking from happening, which makes it very complicated to navigate certain scripts.
Is there an option to horizontally scroll the editor so the strings wont be hacked into window size creating this mess?
So far, I did not find anything that would help with my problem. Does anyone here have a clue what I'm after and where I could find it?
Alt + Shift then use the scroll wheel. This will horizontal scroll for you :)
Not the most efficent but you can slowly pane left and right
Ctrl + ⬅️ Will jump left one word per press
Ctrl + ➡️ Will jump right one word per press
With these commands if you also hold down Shift you will select the whole word.
This is not really scrolling and it's hard to pay attention to what's going on
Home will move the cursor to the start of the line
End will move the cursor to the very end of the line
Wordwrap is there to rescue from horizontal scrolling. Press Alt + z to toggle wordwrap on/off.
Related
A feature I tend to use a lot is the alt+shift feature of selecting multiple lines of code with multiple cursors, and got used to it in VS. With VS Code, however, I can't scroll down (using the mouse wheel) while using such a feature; horizontal scrolling happens instead because I'm pressing Shift. How to enable vertical scrolling in such a situation?
I tried searching the web for an answer, changed keyboard preferences in VS Code, disabling horizontal scroll with alt+z; none worked.
Just do the scrolling before pressing alt+shift.
Put your caret at the beginning point (one end / corner of the rectangular text space you want to be selected), then do the scrolling until you can see the other end / corner without moving the caret, then press alt+shift and click the other end / corner of the text space you want to be selected.
This is driving me mad! I love the new layout options in Word 2013, but when a callout gets to a certain size the icon for it obscures the end of the arrow, and you can't move the arrow:
Don't suppose anyone knows either how to get rid of the icon, how to click and drag on the yellow end of the arrow, or how to stop the icon appearing in the first place?
Thanks in advance.
Here are two answers that helped me. The second option gets rid of the floating Layout Options button, but at the cost of disabling some features of Word 2013.
First Option:
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/any-way-to-disable-the-layout-options-button/47f6af4a-2acd-483e-a953-6415c8530554
It might help to increase the zoom (use the slider at the right end of the status bar) while you work with the picture.
Second Option:
http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/layout-options-icon-word-2013-suddenly-missing/ce304589-9db2-44c5-b1e1-8fd6596b70c4
Is the document in Compatibility Mode (shown by those words appearing in the title bar along with the document name)? If that's the case, click File and then click the Convert button. That will make the Layout Options button appear when a picture is selected, as well as turning on other features that are available only in the 2013 format. When you save, the document file will change to the .docx extension.
I know the second quote is about turning the Layout Options button on, but it works backwards, too. I saved my file as a *.doc instead of a *.docx and the floating button went away.
When you're finished editing your callouts, you can save it again as a *.docx.
One method that helped me was to flip horizontal, change the leader position, then flip back. That way the leader line is temporarily on the opposite side of the layout button, and both handles of the leader line are accessible, then can flip back. It is an extra step, but is another alternative.
In an attempt to automate this to quickly flip the object back and forth, I couldn't find a macro command to make a shortcut, or anything under Customize Ribbon with custom Keyboard Shortcuts to Flip Horizontal (MoreRotationOption opens up a dialog which does not give an option to flip).
The Flip Horizontal command could be called by pressing ALT JD (Format) AY (Rotate Objects) H (Horizontal) when the object is selected...
The best I could do was to add Rotate Objects to the Quick Access Toolbar, then the Flip Horizontal command could be called by pressing ALT # (whatever number you assign) H (Horizontal) which is three keystrokes.
When you move around in vim through jumping (either through movements [moving across text objects like matching parens/braces, or moving by way of the / search] or through tags [go to declaration, etc]) you have the ability to go back to the previous jump/location in the file from before you jumped somewhere.
I'm slowly learning how to move places in Eclipse, like jumping to the declaration of something, but is there any way to go back to the spot you were previously in a file?
If you don't want to fight your vi urges you could try Vrapper or viPlugin! ;-)
From #Naveen's link
ALT + ← : go to previous cursor position
ALT + → : go to next cursor position
Works with F3 (open type declaration) jumping!
⌘[ and ⌘] to jump forward and backward on Mac OSX Eclipse. Also, see the arrow buttons in the Eclipse toolbar in the below screen captures:
We all love our keyboard shortcuts and on a Windows machine two of my most commonly used combos are Ctrl + left/right or Ctrl-Shift + left/right. I find these speed my development quite a bit.
Now on a Mac you can Cmd + left/right which grabs the whole line. And in some apps Option + left/right will navigate a word at a time. I find in Eclipse though that there is not combo to navigate or highlight a word at a time. The option-key combo behaves in a way that is frustrating and makes me want to punch it in the face. Anyone know of features or tricks I might've missed?
Mac Keys for Eclipse
I could have sworn I saw it once before in a screencast where someone had the find/replace window docked in their Eclipse environment.
However looking through the list of options in "Window > Show" the closest thing I can find is the Search window.
I find that I use it quite a bit and with larger monitors these days I figure I could afford to have it open in my perspective all the time.
Is this possible?
Thanks.
One poor-man's workaround is to dock a view that you don't need in a part of Eclipse where you want the find/replace view and then place the find/replace dialog on top of that like this:
Clearly this is a huge kludge but it does work.
I am not sure about that, since Fast views are:
icons allowing users to quickly display different views that have been created as fast views
And the search/replace is a Dialog, not a View..
(source: bpsite.net)
(That Dialog box is not like Views, which support editors, also have their own menus. Some views also have their own toolbars.)
The help page mentions:
Fast views are hidden views that can be quickly opened and closed. They work like other views except they do not take up space in your Workbench window.
This might not be an exact answer for the question. But this works like a charm.
Press ctrl + j and keep typing...
Use ctrl + k to go on
Use shift key wherever required.
Use Edit > Incremental Find Next (Ctrl+J) or Edit > Incremental Find Previous (Ctrl+Shift+J) to enter the incremental find mode, and start typing the string to match. Matches are found incrementally as you type. The search string is shown in the status line. Press Ctrl+J or Ctrl+Shift+J to go to the next or previous match. Press Enter or Esc to exit incremental find mode.