React debug Using VSCode and Firefox instead of Chrome

The mentioned plugin has the following github prepository: https://github.com/hbenl/vscode-firefox-debug Also if you look over the documentation better it states to do apply the following configuration over firefox in order to enable the debugging: The changes above can get applied via typing about:config to your browser’s address bar. Afterwards in order to debug just use the … Read more

How to reference assemblies using Visual Studio Code?

In your .csproj file, add your dependency as a PackageReference in an ItemGroup, then run dotnet restore or nuget restore. Example: <ItemGroup> <Reference Include=”System” /> <Reference Include=”System.Xml” /> <Reference Include=”System.Core” /> <Reference Include=”Xamarin.iOS” /> <PackageReference Include=”Realm” Version=”2.1.0″ /> <PackageReference Include=”xunit”> <Version>2.3.1</Version> </PackageReference> </ItemGroup> Take a look at this article for a full explanation.

Running a Python program with arguments from within the Visual Studio Code

You can pass in the arguments into the program by defining the arguments in the args setting of launch.json as defined below: json { “name”: “Python”, “type”: “python”, “pythonPath”:”${config.python.pythonPath}”, “request”: “launch”, “stopOnEntry”: true, “console”: “none”, “program”: “${file}”, “cwd”: “${workspaceRoot}”, “args”:[“arg1”, “arg2”], “env”: {“name”:”value”} } Further information can be found on the documentation site here: https://github.com/DonJayamanne/pythonVSCode/wiki/Debugging#args

How to config VSCode’s Organize Imports order?

The built-in “Organize Imports” functionality has no configuration, according to the documentation. You can customize import ordering using a third-party extension, such as alfnielsen.vsc-organize-imports or by using a separate linting tool like eslint or tslint. In eslint (my recommendation, since tslint has been deprecated), you’ll need to also use a plugin like eslint-plugin-import to get … Read more

Is it possible to use the vscode: hyperlink to open a file or directory in Code?

Yes, it is possible. Open a project (or a directory) vscode://file/{full path to project}/ vscode://file/c:/myProject/ Open a file vscode://file/{full path to file} vscode://file/c:/myProject/package.json Open a file to line and column vscode://file/{full path to file}:line:column vscode://file/c:/myProject/package.json:5:10 More details: https://github.com/Microsoft/vscode-docs/blob/master/docs/editor/command-line.md#opening-vs-code-with-urls

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