how to select default formatter? - visual-studio-code

I have vscode IDE, recently when I try to format my code vscode ask me to select which formatter to use.
Why? and How to select Prettier as default, but not remove TypeScript and JavaScript Language Features (This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled).

I think you are using insiders, this is a recently bug (maybe), to solve the problem, you just need to update to latest insiders version:
Version: 1.33.0-insider (user setup)
Commit: 1876bd1d3805d632a9aa78fad47b2c3c555f6eec
Date: 2019-03-25T14:53:36.371Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

Related

Visual Studio paste the copied lıne on the bottom line

We want paste the copied line on the bottom line looks like the video.
Here my VS Code about.
Version: 1.74.2
Commit: e8a3071ea4344d9d48ef8a4df2c097372b0c5161
Date: 2022-12-20T10:27:19.253Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.10.0-20-amd64
Sandboxed: No
I using GNU/Linux. I think there is an obvious shortcuts difference between GNU/Linux and Windows VS Code versions.

typescript IntelliSense not worked in my vscode

MacBook Pro (Retina, 13-inch, Early 2015)
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:44:27.652Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 17.7.0
Tried some method online but it's not worked.
There's no hover infomation on the ts Type, and no IntelliSense when I type object..
And my win10 works fine.
I ran vscode with code . --disable-extensions, not worked.
I ran npm i typescript -g and the console output Version 3.8.3 when I execute tsc --version.
I installed JavaScript and TypeScript Nightly extention, but I could not see the TypeScript: Select TypeScript version command in the vs code command palette.
I tried install vs code 1.40.2, it's not worked too.
no typescript version info in the vscode status bar:

VSCode Python Language Server not shown anymore

VSCode Information:
Version: 1.41.1 (system setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363
Python Extension Information:
Name: Python
Id: ms-python.python
Description: Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.
Version: 2019.11.50794
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python
VSCode doesn't show the notification window to use Python Language Server.
Check your settings.json file to see if jedi is enabled ?

There are 2 versions Visual Studio Code Installer, user and System Installer. How do I determine which version I am using?

There are 2 versions Visual Studio Code Installer, user and System Installer.
I've forgotten which version I installed. How do I determine which version I am using?
Versión: 1.40.2 (system setup)
Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
Date: 2019-11-25T14:54:45.096Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.17134
My Help/About says (user setup) and yours says (system setup) so that must be your answer.
Version: 1.40.2 (user setup)
Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
Date: 2019-11-25T14:54:45.096Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.19037
and I did not do the System install version.

VSCode intellisense is unusably slow

I installed vscode a few days ago, and everything was going great until today. It updated to the newest version today, and now intellisense takes an unusably long amount of time to show autocomplete suggestions. I tried uninstalling all of vscode and reinstalling it, but this did not solve the problem. I have a small number of running extensions (basically, an Emacs keymap, Python, GitLens, and the default extensions like TypeScript that are used by VS Code).
What could be going wrong?
vscode information
Version: 1.41.0
Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959
Date: 2019-12-11T17:58:38.338Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0
Extension information
Name: Emacs Friendly Keymap
Id: lfs.vscode-emacs-friendly
Version: 0.9.0
Name: GitLens — Git supercharged
Id: eamodio.gitlens
Version: 10.2.0
Name: Python
Id: ms-python.python
Version: 2019.11.50794