Skip to content

Treat all files with git{config,attributes,modules}/editorconfig extensions as properties files#103326

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
SnirBroshi:patch-2
Jul 30, 2020
Merged

Treat all files with git{config,attributes,modules}/editorconfig extensions as properties files#103326
joaomoreno merged 1 commit intomicrosoft:masterfrom
SnirBroshi:patch-2

Conversation

@SnirBroshi
Copy link
Contributor

This PR fixes #103042 (again), as I found more occurrences of the issue -
files with the extensions .gitconfig, .gitattributes, .gitmodules, .editorconfig are not being considered of type Properties,
unless they match that exact filename, with nothing before the dot.

How to test:
Create and open files named john.gitconfig, server.gitattributes, client.gitmodules, windows.editorconfig.
The language mode for them should be set to Properties.

@joaomoreno joaomoreno added this to the July 2020 milestone Jul 30, 2020
@joaomoreno joaomoreno merged commit 211fe2f into microsoft:master Jul 30, 2020
@joaomoreno
Copy link
Member

Thanks!

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[built-in extensions] All files with a matching file extension should be considered to be of the relevant language

2 participants