Not able to write in html file in VS Code - html

When ever I make a HTML file in VS Code the screen is black and I am not able to write in it. Whereas whenever I make a file of another extension like .java or .css it works and I can type in it. Tell me what to do.
When I make a file, it says this:
After adding .html it shows blank screen:
But I am able to write in other extension:
I removed the vim extension, but that doesn't work, and I don't know what to do.

A few items --
Try uninstalling it and doing a clean install.
Submit it to Microsoft Report a problem with the Visual Studio product or installer

Related

! [tab] shortcut not working with blade extention

I was making a new file using PhpStorm IDE in which I wanted some HTML. My file name was welcome.blade.php. When I tried using the ![tab] shortcut to make an HTML skeleton, nothing happened. All that appeared was a ! and a tab space.
I know that this shortcut only works on HTML and PHP files, so it seems that because of the .blade extension of Laravel, PhpStorm doesn't recognize it. I made a welcome.php file in the same directory, and the shortcut worked perfectly.
Anyone know how to fix it?

IntelliJ change language mode same as VS Code

I'm working on a project(IntelliJ + Grav) which all base files are *.md, I have the need to just write HTML code in one of this MD files but I can find an option to change the syntax highlight or intellisense to trigger(emmet, tags, ...).
In VS Code you can change the language mode no matter which file extension you have open.
Q: Is there a way to make IntelliJ highlight HTML code in a MD file.
PS: Don't tell me to change the file extension or open the file in VS Code, as I'm currently doing it.
You can add the file name to the HTML file type list of files/extensions and IntelliJ IDEA will treat it as HTML file instead of Markdown file.

JetBrains PhpStorm index.php file displayed as text file

I'm using JetBrains PhpStorm as my IDE, I absolutely love it but will sadly need to change to Adobe Dreamweaver because of one problem.
I have a rather annoying problem any index.php file gets displayed as a text file even though it has the extension .php. Note this is only for files named index.php I suppose this is a setting that needs to be changed but cant find any solution in the docs.
Anyone experienced same problem before...? Any help advice much appreciated.
Below you can see a sample image
Go to File-> Settings -> Editor -> File types and check text files. There will be an added pattern (index.php). Just romove it.
I had this same problem but the above suggestions weren't helpful. I resorted to looking at my project files, and within .idea/misc.xml I found:
<component name="ProjectPlainTextFileTypeManager">
<file url="file://$PROJECT_DIR$/path/to/myfile-c.php" />
</component>
Removing these lines fixes the problem. If I were to have this problem again, where would I find the setting in the user interface? It is apparently a project level override. Using phpStorm 9.x on MacOS.

PhpStorm ignore file

I'm using webpack to compile all my JavaScript to a single bundle.js file. PhpStorm is running very slowly at times because of this.
Is there a way for me to let PhpStorm ignore this file all together?
Right click on the file in the project tool window and select Mark as plain text from the context menu. That should keep PHPStorm from inspecting the file.
You can also do the reverse: if a file is marked as plain text, you can right click and mark it back to its regular type.

What is the .hinc Extension on a file?

I'm working with some pre-existing web files for a website, and I see there are files with .hinc ending. The code inside them is HTML, but Sublime Text 2 doesn't seem to recognize it, and doesn't color anything. Also, the code still runs on the website.
.hinc is an included HTML source file in c++. See this link http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3325.html#style.hinc