Tag: vscode

VS Code – disable inline MDN suggestions

VS Code has this setting on by default – as I start typing it tries to suggest some MDN references. It took me forever to figure out how to set this off.

Every time I’m setting up VS Code on a new machine, I forget what this setting is!

"editor.parameterHints.enabled": false,

comment line and duplicate snippet for VS Code with keyboard shortcut

Multiple times during the day, I comment a line and then duplicate it with some minor changes. This whole action does not take much time individually but over the course of days and years, I think I’ve wasted a lot of time on this!

This has been overdue for a long time, and I should have created a snippet for this earlier, but never got around to it.

So, I’ll create a snippet which does exactly that and map it to keyboard shortcuts so that the same shortcut works across multiple programming languages.

Continue reading

VSCode terminal tab completion issue

I had logged into my server using VSCode the Remote-SSH extension, and had opened the terminal.

When I enter the ls command and tab, the files and directories auto-complete. However, when I give the mv command, tab completion fails.

After some googling, this Stackoverflow answer helped.

In my .bashrc file, I had to add the following lines –

# enable bash completion in interactive shells
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

Copyright © 2026 the möbius trip

Theme by Anders NorenUp ↑