I'm trying to create NFT's using Visual Studio Code, however, the image layers (.ai) are not recognized by VSC. What do I need to do to make this extension work with VSC? Thank you for your time.
VSCode does not natively support anything that has to do with .ai files. You will need an extension ("plugin") for vscode to make it work if it even exists... From what I found an extension that supports image editing with layers is Luna Paint. However, it doesn't say anything about supporting .ai files. I hope you find a way around of what you want to accomplish!
I have the vscode-pdf extension installed which let's me directly view pdf files in VS code. Is there any possibility to open pdf files directly with the said extension by just clicking on the file?
The current behaviour when clicking on a pdf file is the following message:
The file is not displayed in the editor because it is either binary or uses an unsupported text encoding. Do you want to open it anyway?
Edit: I use VS Code version 1.40.2 1.60.0
Edit2: The feature mentioned in the answer to this question now seems to be integrated. Any update on this?
Not as of VS Code 1.41
However this is a good potential use case for the proposed custom editor api
I am working on a VSCode extension that runs an analysis on some solidity code and then produces an analysis report in markdown for that. I'd like the markdown to appear only in preview mode. How do I do that?
I think you could try webview api, and provide your content as the html string.
I'm trying to set up a simple blog on via Visual Studio and Jekyll but Jekyll can't seem to parse markdown for my posts correctly. Here's the result for my file as is.
Notice that per Visual Studio, this currently is saved with BOM but still builds.
I'm aware that files need to have NO BOM (Byte Order Marker) so I've tried saving it without it but still can't get any results. Anyone have any ideas?
EDIT: Here's backtrace output per comments:
EDIT2: I've tried all the possible line endings available and still can't seem to get anything going. Per #Waylan 's comments I looked into issue #3304 but it seems it isn't fully resolved. Check out this issue if you'd like to add any comments
Seems this was occurring because I was adding via Visual Studio.
You must add the files as a regular text file in Windows Explorer - then you'll be able to edit them in Visual Studio as you like.
Hopefully we'll get support for this in later version of Jekyll or Visual Studio will change whatever it is that's causing the issue. I've made note of the issue with Jekyll already here though if anyone would like to add on to it
I want to use VS Code to try out the examples of a JavaScript book, but there's no IntelliSense, or at least I don't know how to activate it.
In Visual Studio this feature works out of the box :
But in VS Code, all I got is a message saying "No suggestions."
What do I need to do to enable IntelliSense in VS Code?
Starting with the November 2016 (version 1.8) release, Visual Studio Code now fully supports IntelliSense for JavaScript in HTML.
Note that the language support doesn't follow script includes, it only knows about definitions made in the same file.
Currently Unsupported
JS intellisense doesnt work in HTML script tag - VSCode GitHub Issues #4369
Smart Javascript suggestions inside HTML files no loger working after Visual Studio Code update - StackOverflow
It worked for me, when the file had a .js extension. I didn't get any intellisense when I pasted it into .html file between script tags.
Edit To Add: You can also change the Language Mode by clicking 'HTML' in the bottom of the VS Code window and change it to 'JavaScript'.
It is supported!
Intellisense and syntax highlighting start working after replacing
<script>something()</script>
with
<script type="text/javascript">something()</script>
Make sure you have HTML language mode selected in the bottom right corner. I had Markdown mode set for an unknown reason (autodetect?) and it didn't work for me. Javascript mode won't work either for HTML files.
Visual Studio Code version 1.4.0 does not support CSS intelli-sense.
I have an extension for CSS style, id and class intelli-sense for html documents:
Features:
Style tag completion and hover.
Style attribute completion and hover.
Id attribute completion.
Class attribute completion.
Scans workspace folder for css files.
Supports optional resource.json file for fine tuned resource selection.
Link:
https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css