VSCode Note
- Short for Visual Studio Code
- VSCodium - Open Source Binaries of VSCode (like Chromium)
VSC on Mac M1#
Open .drawio
file natively#
- @2021-12-01
- VSC can open
.drawio
file natively! - There is no need to download and install any software to open
.drawio
file, nor using its website. WOW!
Running option#
- @2021-10-27
- To run the VScode without user data, use
code . --user-data-dir <some_folder>
- maybe edit
configurations.args
inlaunch.json
will work - From vscode-docs#4906@gregvanl
- Doc is on CLI page, very irrelevant.
VSCE#
- VSCode Extension
Use non-relative path#
- @2021-10-28
- [ ] Unsolved
-
These didn't work
- Reinstall npm & node(with nvm) from Error: Cannot find module '../lib/utils/unsupported.js' while using Ionic and vscode activating extension failed: Cannot find module with non-relative import
- Search on
SO
, only 2 answers - Setting
tsconfig.json
- Setting
baseUrl
andpaths
, from Relative vs. non-relative module import for custom modules - Setting
module
andmoduleResolution
from tsc throwsTS2307: Cannot find module
for a local file
- Setting
- Similar problems
- In the TS files before transpile/compile is was fine. Missing module in Javascript but not in Typescript
- Current situation: waiting for [https://github.com/microsoft/vscode-docs/issues/4906#issuecomment-955028871]
Unstage part of commit#
- @2022-02-08
- Just right click on the commit and select
Unstage
. Or select multiple lines first. - Not sure if it's of GitLens or built-in Git. Found both in settings.