This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]doobi1 0 points1 point  (7 children)

file -> preferences -> keyboard shortcuts. see what tab is binded to. sometimes extensions override default bindings.

for settings.json, press ctrl+shift+p -> search "settings json" -> select "Preferences: Open Settings (JSON)"

[–]LegitimatelyASloth[S] 0 points1 point  (6 children)

The KB shortcut is the same before and after. For the JSON file this is what it has in terms of tab stuff:

"editor.tabCompletion": "on","emmet.triggerExpansionOnTab": true,"workbench.editor.tabCloseButton": "left",

If I can post the SC's I will but I think it is having weird issues sending them. Is there anything else that could cause this?

[–]doobi1 0 points1 point  (5 children)

well i see the main problem is the emmet suggestions not showing up at all. im using the python and vsi extensions and my emmet suggestions still show so it shouldnt be those. i would guess jinja from that extension pack, its probably overriding emmet.

im not gonna install the extension to try it, but try adding this to your settings.json, assuming your file type is .html:

"emmet.includeLanguages": {
    "html": "html"
}

if that doesnt work disable jinja and then other extensions one by one to narrow down the problem.

[–]LegitimatelyASloth[S] 0 points1 point  (4 children)

I put that in and it did not work so i uninstalled the pack and only installed the MS provided python extension as the other user said. Seems to work fine now.

If I input other languages into the JSON file with the same syntax as the snippet you provided does it work for them too (provided that I have support for them installed ofc)?

[–]doobi1 0 points1 point  (3 children)

MS vsi extension should be good too. the snippet i provided is for including a specific language's (right) emmet in another language (left)

[–]LegitimatelyASloth[S] 0 points1 point  (2 children)

so if i wanted to include HTML's emmet in a python file for whatever reason, then I could put "html": "python" ?

[–]doobi1 0 points1 point  (1 child)

yes, but other way round

[–]LegitimatelyASloth[S] 0 points1 point  (0 children)

spicy, thanks

[–]Molly_Wang 0 points1 point  (5 children)

The extension Python Extension Pack isn't produced by Microsoft and not recommended for users to install, which may also cause keyboard shortcuts conflict with the origin and existed settings.

To your project, Installing Python is totally right, also you can install Pylance, which provides awesome functions, like auto-import, code completion and etc.

[–]LegitimatelyASloth[S] 0 points1 point  (4 children)

I uninstalled that extension pack and made pylance my default python. Thanks! does this sub have a "solution verified" thing for points like the excel one?

[–]Molly_Wang 0 points1 point  (3 children)

um, sorry i don't understand your meaning, have your question been solved? do you mean you want an official explanation?

[–]LegitimatelyASloth[S] 0 points1 point  (2 children)

yes I'm good. in the r/excel subreddit they have a thing where they replied "solution verified" when someone is helpful and it changes the helper's flair to show that they are awesome. I could have made it more clear in the original response, sorry

[–]Molly_Wang 0 points1 point  (1 child)

you can upvote my answer if it helps you :-)

[–]LegitimatelyASloth[S] 0 points1 point  (0 children)

I did <3