Skip to content

Commit 67a4d46

Browse files
Copilotsnehara99
andauthored
Add native file association for custom Makefile naming conventions (#788)
* Initial plan * Add native support for custom Makefile naming conventions (#645) Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com> * Fix missing comma in package.json languages contribution after merge Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: snehara99 <113148726+snehara99@users.noreply.github.com>
1 parent 6bd3938 commit 67a4d46

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Improvements:
66

7+
- Add native support for custom `Makefile` naming conventions such as `*.Makefile`, `Makefile.*`, and `*.makefile`. [#645](https://github.com/microsoft/vscode-makefile-tools/issues/645)
78
- Add `# region` / `# endregion` folding support for makefiles. [#544](https://github.com/microsoft/vscode-makefile-tools/issues/544)
89
- Add `name` and `description` fields to `makefile.launchConfigurations` to allow user-friendly labeling of launch configurations. [#568](https://github.com/microsoft/vscode-makefile-tools/issues/568)
910
- Add `makefile.runOnSave` setting to automatically build and run the current target when a file is saved. [#786](https://github.com/microsoft/vscode-makefile-tools/issues/786)

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,21 @@
7474
"onCommand:makefile.resetState",
7575
"workspaceContains:**/makefile",
7676
"workspaceContains:**/Makefile",
77-
"workspaceContains:**/GNUmakefile"
77+
"workspaceContains:**/GNUmakefile",
78+
"workspaceContains:**/*.Makefile",
79+
"workspaceContains:**/Makefile.*",
80+
"workspaceContains:**/*.makefile"
7881
],
7982
"main": "./dist/main",
8083
"contributes": {
8184
"languages": [
8285
{
8386
"id": "makefile",
87+
"filenamePatterns": [
88+
"*.Makefile",
89+
"Makefile.*",
90+
"*.makefile"
91+
],
8492
"configuration": "./makefile-language-configuration.json"
8593
}
8694
],

0 commit comments

Comments
 (0)