! [tab] shortcut not working with blade extention - html

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?

Related

Not able to write in html file in VS Code

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

PhpStorm 2018.2: filename in tab not underlined when an error is present in TypeScript

After update to PhpStorm 2018.2 I've found that in my Angular project the filename in editor tab is not underlined (with red color wave) if an error is occured within that file. However the errors in code are well underlined.
Also the files containing errors on the left navigation bar are not underlined.
Same issue occures in a .js files from another project.
I've tried to remove .idea, to rename project folder but it doesn't resolve the issue.
In my php project everything works fine.
Any ideas?
I've completely removed PhpStorm and reinstalled it again following this instructions: https://intellij-support.jetbrains.com/hc/en-us/articles/206544519
Now it works fine.
Make sure you export your settings (File -> Export Settings) because they will be erased.

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.

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

Adobe Dreamweaver CS6 (and CC) doesn't do code-hightlight for *.TWIG files / Notepad++ Auto-Twig highlight

I have issues with my Adobe Dreamweaver CS6 (and CC) to support TWIG files. I tried some of the tutorials found on Google saying I need that extension in settings and also edit one of dreamweaver configuration files. But It didn't worked.
The only thing I did, is that Dreamweaver is able to open *.twig files, but it is opening them as a plain text, when it should do HTML5 markup highlighting.
Maybe someone knows the tutorial/required actions to make it work?
As an addition question I will ask how to make in Notepad++ to understand *.twig file type on the first open, so I don't need to choose 'programing language' from Menu each time I open *.twig file.
To be more clear.
I followed instructions from:
http://helpx.adobe.com/dreamweaver/kb/change-add-recognized-file-extensions.html
I edited both files (one in Program Files, and the second in Users folder), and it still not highlights the "abc.html.twig" file. Displays as plain.
I was just having this issue, with CS6 (following Adobe's site). Make sure to have Dreamweaver turned off.
Edit:
C:\Users\\[username]\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\Extensions.txt
Find:
HTM,HTML,...,SVG:All Documents
HTM,HTML,HTA,HTC,XHTML:HTML Documents
Change to:
HTM,HTML,...,SVG,TWIG:All Documents
HTM,HTML,HTA,HTC,XHTML,TWIG:HTML Documents
Turns out that there is a second MMDocumentTypes.xml in:
C:\Users\\[username]\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\DocumentTypes\MMDocumentTypes.xml
and
C:\Program Files\Adobe\Adobe Dreamweaver CS6\configuration\DocumentTypes\MMDocumentTypes.xml
Edit both these files and change this line in both:
<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi" file="Default.html" writebyteordermark="false" mimetype="text/html">
to
<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml,twig" macfileextension="html,htm,shtml,shtm,tpl,lasso,xhtml,ssi,twig" file="Default.html" writebyteordermark="false" mimetype="text/html">
Open up a twig file with Dreamweaver and it should now show HTML highlighting within your twig files!
Hope this helps!