From time to time the VS Code Output window opens showing me the output of small-ci How do I deactivate this? I don't know what plugin belongs to small-ci.
The plugins that I have currently installed are:
Beautify
Bookmarks
Bracket Pair Colorizer 2
ci-snippets2
Live Server
Live Share
Material Icon Theme
open in browser
PHP Debug
PHP DocBlocker
PHP Intelephense
PHP IntelliSense
PHP IntelliSense for codeigniter
PHP Server
Python
The plugin that is causing this is PHP IntelliSense for codeigniter
Related
I am new to VS Code. HTMLHint extension shows hints live without a need to run a separate process.
I have used ESLint & JSHint in browser environment (Web or browser extension) and both show hints live.
I installed ESLint extension and it seems that it requires nmp & running a separate process to check the syntax.
Don't they run automatically like HTMLHint or Spell checker extensions?
How can syntax errors and/or suggestions be shown in VS Code?
I am using visual studio code for a while now on different devices, I have installed the following extensions:
vscode-styled-components
Prettier - Code formatter
JavaScript (ES6) code snippets
HTML Snippets
HTML CSS Support
File Utils
ES7 React/Redux/GraphQL/React-Native snippets
advanced-new-file
some of the extensions do not work on my new device like HTML Snippets, even if it is enabled.
I need to know that how to enable all the extensions installed in vscode and Is there any way to manage the new extensions installed
can you enable only HTML Snippets and disable all extensions? If it works, it may have a problem with other extensions.I know different pc its working, but try this.
I just started using Unity with Visual Studio Code and got it up and running to use it instead of the default code editor but VSC doesnt display auto-completion and I am wondering if it is even possible to add this feature into Visual Studio Code and if yes, how to do so.
I am trying to use PHP code in visual studio code HTML file but couldn't get the color highlight. I have installed PHP Intellisense but still the same
<div class="htmlcolor">
<?php
echo "php color not working in html file";
?>
</div>
Try to rename your file from your-file.html to your-file.php to enable PHP code highlighting for both html and php
Usually this has to do with a VS code plugin that is conflicting with another formatting plugin. I've disabled all Formatting plugins and re-enabled only Prettier and that did the trick.
In VS-Code, install the extension PHP Extension Pack. This will help you with highlight colors, auto-complete, suggestions etc. :) And yes, as mentioned by dstrants, you should keep your code in a php file.
I'm using Visual Studio Code for different web development. Recently I'm using Drupal 8 to develop new websites. Drupal 8 has some theme file to place some PHP code in it to changes some parts of theming. How can I debug this theme files in Visual Studio Code? I can't place any breakpoints in my code.
If you find yourself here in future, you might want to look at Drupal Configuring for Visual Studio Code available on drupal site docs.
The URL is: https://www.drupal.org/docs/develop/development-tools/configuring-visual-studio-code
It explans in depth how you can configure:
phpcs: provides integration for PHP CodeSniffer (phpcs) code linting.
Debugger for Chrome: is a Microsoft official extension that adds JavaScript debugging support.
PHP DocBlocker: provides auto-complete for PHP docblocks.
Empty Indent: removes indent of empty lines on save.
PHP Debug: provides launch configuration support for XDebug. Requires XDebug.
And most important Editor Settings.
Happy coding
If you want to use Drupal with vscode I suggest you to install VS-code-drupal extension. It makes .module files recognizable as php files.
If you want to debug php code I suggest you to install vscode-php-debug extension. It's a bit tricky to configure, but if you follow the guide you will succeed.
Another useful extension is vscode-code-runner. It runs portions of code for testing it on the fly.
Unfortunately I have not found yet a good extension for php intellisense.