I'm just trying vscode one more time after a year or so. I'm using it for web development so really want the html snippets to be working, but none of it is, I don't get any suggestions, and typing ctrl-space brings up a box telling me there are no suggestions. What do I need to do to get this to work. It's a completely fresh install on a freshly installed Linux Mint20. I always thought this part worked out of the box, it did 2 or three years ago when it was using it on a mac, I expected a similar behaviour to be honest. do I have to enable another setting to allow intellisense to work. I've no idea, it works out of the box on a mac.
So I found the solution after 5 hours, it's at the bottom right of the screen, file type should be "HTML" or whatever file it should be, not just "plain text". Vscode will pick this up from the file extension, but for testing, I just clicked file - new file, which of course will be plain text by default.
Feel like a bit of an idiot, but hopefully this will save someone else trying to fix this.
Related
so I've recently started learning web development and I read and write html according to a tutorial that uses html 4, and just practice it on notepad++ and test them on my browser.
Now there's a problem that's been bugging, the web page doesn't change at all even if I comment out the code or change a few things in it.
I messed around with the height and width of an image and it didn't change, I tried creating a folder outside the notepad++ folder and put everything there and nothing changed, I created a completely new file(added in notepad++) and folder and it was the same. I'm still in the middle of the tutorial and this problem has just been bothering me, someone please help
I think you should try clearing browser cache or try using other IDEs like vscode or if you use android then trebedit or Dcoder
Try refreshing your page, or use an IDE like Visual Studio Code and the live Server plugin. This should help you as a beginner because both of these tools are really easy to use. Maybe it isn't changing because you had never saved your file.
I can't provide any code because I'm under NDA, but as the title says, VS won't color my code or let me use any of the built-in tools it has. It allows me to rebuild and such, just not anything that directly edits or reveals any files. Google has absolutely nothing about the problem, everything is always VS Code. It's only for one specific project and it makes it very hard to work, does anyone know a solution? Has anyone ever heard of this problem?
It's Visual Studio 2022.
Edit:
The code is in TypeScript, with the .ts file extension, if that wasn't obvious, not to mention that it doesn't even interact with plain HTML. The only time it even colors the text is when I restart VS, then it goes back to not interacting with the text at all until I restart again, then it only highlights 2 of the files and stops again. This is the most information I could possibly give from my perspective, ask for any more you need.
I can usually fix this by simply closing VS and then reopening it. It's definitely a glitch in Visual Studio with both Typescript and Javascript files. If closing/reopening gets too annoying, there's some other things to try on this post:
Visual Studio 2022 - for typescript files Intellisense not working
I recently meet a awful problem in vscode with my html code,i used open-in-browser extension. And "Open browser failed!! Please check if you have installed the browser chrome correctly!" appeared ,i have tried many ways and i still can't solve it. I tried to change the user setting and workspacesettings,but nothing works.
I really want to solve this problem
Thank.
Use View In Browser. It definitely works, and as for the theme, you can always get a similar one, there are thousands of them. ViewInBrowser can be put on a keyboard shortcut by going into the settings, and so It can be very easy to open your file. I use Sublime, not Vscode, so I don't know exactly how to fix that particular issue. You might make sure it is configured for that browser, and make sure you have compatibility with your version of the browser.
Just updated Pycharm, and now it won't recognise any of my HTML tags. Do you also have this issue, or have I messed with some settings? A few days ago I changed a few of the HTML settings, but can't really remember what I did...
So, all of the yellow marked tags are not recognised by Pycharm anymore? I have no idea what I've done to cause this, unless its an update issue, but I searched online and could not find others with the same problem.
Had the same problem. Reading through this bug report I tried the following:
File | Invalidate caches
Worked like a (py)charm ;)
Delete your .idea folder, and then restart pycharm.
If you can refine your post, we'll be able to help you; can you point to a hi-lighted tag with your mouse and read the warning on pycharm status bar. Also you can do this by pointing to the warning indicators on the right in front of each line. Here are some things you can check:
settings/code style/html bring it back to defaults
settings/inspection bring it back to defaults
settings/file types choose html and check the registered patterns, it may be broken, you should find *.(htm, html, sht, shtm, shtml)
you could also un\re-install html tools plugin.
I try to copy my html code from an old page of mine to use in a new page(with new pictures and text), and I get garbage symbols. Im using Text Edit on a Mavericks Mac.
The html code looks correct in TextEdit, but when I look at the new code in any browser, the source gives me what I did not copy in. And if I type it into TextEdit extremely carefully, it still is garbage when I look at source. Its driving me whacky. This did not happen with my previous Mac.
textEdit is a rich text editor and not really suited to coding. it tries to apply character set changes when you copy/paste/save/open. This is quite different from notepad on windows which works fine for code (although notepad is full of huge bugs and really limited... but that's another topic).
I suggest you install a great free code editor called text wrangler. It's the standard first choice for code editing on a mac when you need something quickly, free, and easily. I have no affiliation with the product or company - it's just the standard best first quick choice for your needs on a mac.
You'll have constant headaches with textEdit for code editing.
http://www.barebones.com/products/textwrangler/