Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Dockerfile.*" to default file associations. #102897

Closed
dawonn-haval opened this issue Jul 19, 2020 · 0 comments · Fixed by #103553 or eclipse-che/che-theia#902
Closed

Add "Dockerfile.*" to default file associations. #102897

dawonn-haval opened this issue Jul 19, 2020 · 0 comments · Fixed by #103553 or eclipse-che/che-theia#902
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders languages-basic Basic language support issues verified Verification succeeded
Milestone

Comments

@dawonn-haval
Copy link

A common practice for naming dockerfiles is "Dockerfile.XYZ", but vscode treats "Dockerfile" only as a file extension.
https://stackoverflow.com/a/51205428/12757156

This means that syntax highlighting and 'file-tree icons' are not enabled on those files, but this can be remedied on a per-workspace basis by configuring this setting:

{
    "files.associations": {
        "Dockerfile.*": "dockerfile"
   }
}

It would be grand if this setting could be enabled by default.

chrmarti pushed a commit that referenced this issue Jul 30, 2020
…02897)

Signed-off-by: Vitaliy Gulyy <vgulyy@redhat.com>
@chrmarti chrmarti added this to the July 2020 milestone Jul 30, 2020
@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug languages-basic Basic language support issues labels Jul 30, 2020
@mjbvz mjbvz added the verified Verification succeeded label Aug 5, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders languages-basic Basic language support issues verified Verification succeeded
Projects
None yet
4 participants
@chrmarti @mjbvz @dawonn-haval and others