75623

How to move to lines with the same indentation in Visual Studio Code

Question:

How can I navigate to next and previous lines with same Indentation in Visual Studio Code?

For Eg:

First line Second line Third line Fourth line Fifth line Sixth line Seventh line

So that if I place the cursor on Third line I can navigate to Second or Sixth line. All on the same level of indentation.

Answer1:

Not that I know of trough a native shortcut.

You would need to fold the level 2, hiding lines 3, 4 and 5, in order to be able to go from line two (sill visible), to line 6 still visible.

For folding, see "<a href="https://stackoverflow.com/q/30067767/6309" rel="nofollow">How do I collapse sections of code in Visual Studio Code for Windows</a>".

Recommend

  • Django REST framework range filter
  • jsdom not loading or not running external scripts in page
  • Custom URL Scheme for iOS App when not backgrounding
  • How to install iconv-devel on CentOS 5.6?
  • Gradle: assembling multiple source-sets into one jar
  • What is the correct usage of DataContext.Refresh()?
  • Why is Python's “sorted()” slower than “copy, then .sort()”
  • What's the point of naming function expressions if you can't really reference them by the
  • Is it faster to connect/use MySQL at localhost instead of a domain (even if the domain resolves to t
  • Selection Sort in Java produces incorrect results
  • Sparql: how to GROUP BY More Than One Column
  • NSIS Special Build - Logging and Long String (8192 byte)
  • Long press event on button [duplicate]
  • Nested Loops “For” in Python : Order T
  • f:convertNumber on Double: ClassCastException
  • Angular2 linq style property accessor
  • How get car route between two coordinates using ruby?
  • Perl is respecting '
  • Imprecise numbers with microtime and floating point addition in PHP
  • How to add an Auth Token in every request using AFIncrementalStore?
  • cq5 accessing osgi servlet through Url
  • how can I access to a hashed key stored by spring redis session using RedisTemplate?
  • Replacing ui router 0.2 with 1.0.0
  • Is it possible to use LinkShare signatures in an iOS Smart Banner?
  • unicode characters in html
  • CameraPreviewImageSource empty preview frame
  • typescript multidimensional array with different types
  • Azure NodeJS Error: ENOENT, open 'D:\\home\\site\\wwwroot\\bin\\views\\'
  • date changes on export kendoGrid
  • How to put an object in the air?
  • Facebook friend list in Facebook Android SDK 3.14
  • Sample deviceQuery cuda program
  • Android studio import problems. (Apktool)
  • Building JavaFX 2.0 App on Mac, deploying on Windows
  • Excel File upload in asp.net using SqlBulkCopy
  • Wireshark Display Filter for Unique Source/Destination IP and Protocol
  • how to run a different select statement based on condition in Hive SQL
  • How to restrict use of third party camera app from your app
  • What is the best way to cache and reuse immutable singleton objects in Java?
  • Access to a Matlab gui from the web