Questions tagged as 'visual-studio-code'

0
answers

AngularJS autocomplete visual studio code

I'm creating an API for angularjs and I know that in vs code you can write a d.ts file that defines the types and other things in the IDE. I already created this file index.d.ts for autocomplete and it worked for global variables and etc. Co...
asked by 31.07.2017 / 20:08
1
answer

Visual Studio Code Breaking Jekyll Page Layout

I am editing a HTML file of my blog from Jekyll in Visual Studio Code : However,whenyousavethefile,theVisualStudioCodeplacesthereferencetextofthepagelayoutinonlyoneline,breakingthereference: How to avoid this?     
asked by 04.04.2017 / 03:33
0
answers

VSCode changes the indentation when the project is saved

I've already set the indentation in User settings to 2 spaces and it even works when I press the tab, but whenever I save the file it automatically changes the entire indentation to 4 spaces. I took a look at all preferences and found not...
asked by 28.01.2017 / 21:05
2
answers

VSCode does not open page in browser

Next, I installed PHP Debug in VS Code as it teaches this site link , but when running, vs does not open the page in the browser. Does anyone know why? laucher.json (I tried to use port 80 which is the one I use in wamp, anyway it will not...
asked by 08.07.2018 / 22:21
2
answers

View project - PHP [closed]

I'm starting in the PHP language and would like to know how I can view my project, since when using localhost the error "404" appears with the message "Not Found". The directory of my .php file is this:    C: \ xampp \ htdocs \ store T...
asked by 11.12.2018 / 14:14
1
answer

Doubt vscode - ASP.NET [closed]

asked by 28.12.2018 / 14:42
1
answer

Remove all attributes from HTML [closed]

I have a file of approximately 60000 lines and I need to remove all attributes from the HTML file. Do you know the name of any application, notepad plugin, or any way to automate this process? Thank you! Exemplo: <td height="20" align="l...
asked by 28.09.2018 / 13:14
1
answer

Behavior of this variable in Validation with Mongoose + Nodejs

I'm trying to run a validation process for a field in the mongoose schema. However, the behavior of the "this" variable is different than expected. Well, according to the documentation at link , you should refer to the model object you are bein...
asked by 25.07.2018 / 17:35
1
answer

VSCODE file explorer follows file opened

Does anyone know how to disable this behavior of VSCODE? Every time you close a file it skips to the next open and the file explorer jumps to where that file is in the list.     
asked by 28.08.2017 / 15:15
2
answers

The else is not recognized

alert(""); var n1=parseInt(prompt("Digite um número")); var n2=parseInt(prompt("Digite outro número")); var A = n1+n2; var M = n1*n2; var D = n1/n2; var Sub = n1-n2;...
asked by 13.05.2018 / 03:58