Skip to content

File Types not detected correctly #196812

@moefear85

Description

@moefear85

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Open any VSCode project

Issue:
Files types for files without extensions are detected incorrectly or not at all until clicked on and opened. But even this is arbitrary. Sometimes, even with a shebang at the top, such as python or bash, and even after opening the file, the type is detected incorrectly, such as plain text or some other format (with a heart icon) instead of for example the green dollar sign for bash scripts.

I use #! /bin/bash and #! /bin/python as shebangs.

As a side note, I'd like to request a the feature of being able to extend VSCode in python rather than javascript, since like many I don't speak javascript, so vscode remains an inaccessible black box and any extensions I need have to preexist in the extensions repository. That's the only thing keeping me from saying thx for a perfect development tool, because currently I'm considering the option of using another similar editor or coding my own in tkinter.

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions