vscode journal 2025

satya - 4/6/2025, 1:55:05 PM

How do I wrap text in the default text editor in vscode?

How do I wrap text in the default text editor in vscode?

Search for: How do I wrap text in the default text editor in vscode?

satya - 4/6/2025, 2:02:21 PM

Do this

  1. It is in the setting "Text Editor/Editor: word wrap"
  2. ctrl-shift-p
  3. preferences: open work space settings
  4. Among the tabs go to the "user" tab (for you want this globally)
  5. Type in the search: Editor: word wrap"
  6. It should locate the "Text Editor, Editor: word wrap setting"
  7. Turn it on, as by default it is off.

satya - 4/6/2025, 3:06:38 PM

where should I keep the vscode snippets files for a root folder in a multi-root vscode workspace?

where should I keep the vscode snippets files for a root folder in a multi-root vscode workspace?

Search for: where should I keep the vscode snippets files for a root folder in a multi-root vscode workspace?

satya - 4/6/2025, 3:16:43 PM

here is the summary

  1. They can be at a user scope level and applies to all vscode instances
  2. These will be in a directory like the following
  3. C:\Users\satya\AppData\Roaming\Code\User\snippets\global-snippets.code-snippets
  4. You can have as many files as you want, as long as they are named as such
  5. ...........
  6. Or they can be at a project level
  7. 2 options
  8. option 1: /root/.vscode/a.code-snippets
  9. Option 2: /root/.vscode/snippets/a.code-snippets