How do I use Bash on Windows from the Visual Studio Code integrated terminal?

Install Git from https://git-scm.com/download/win Open Visual Studio Code and press and hold Ctrl + ` to open the terminal. Open the command palette using Ctrl + Shift + P. Type – Select Default Profile Select Git Bash from the options Click on the + icon in the terminal window The new terminal now will be … Read more

Why do I keep getting Delete ‘cr’ [prettier/prettier]?

Try setting the “endOfLine”:”auto” in your .prettierrc (or .prettierrc.json) file (inside the object) Or set ‘prettier/prettier’: [ ‘error’, { ‘endOfLine’: ‘auto’, } ] inside the rules object of the eslintrc file. If you are using windows machine endOfLine can be “crlf” basing on your git config.

How to make VS Code treat a file extensions as a certain language?

Update Please note that JoelAZ’s answer is much easier and results in the same setting changes! The answer below is still valid, just more steps & more fuss. Old answer In Visual Studio Code, you can add persistent file associations for language highlighting to your settings.json file like this: // Place your settings in this … Read more

How to comment multiple lines in Visual Studio Code?

Windows: Shift+Alt+A Linux: Shift+Ctrl+A Here you can find all the keyboard shortcuts: Windows VSCode Shortcuts Linux VSCode Shortcuts PS: I prefer Ctrl+Shift+/ for toggling block comments because Ctrl+/ is shortcut for toggling line comments so it’s naturally easier to remember. To do so, just click on the settings icon in the bottom left of the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)