This pull request introduces a new language configuration file for the Modelfile syntax and updates the package.json to reference this new file. These changes aim to enhance the editing experience for users working with Modelfile syntax in VSCode.
Changes
- Added modelfile.language-configuration.json: This new file includes configurations for comments, brackets, auto-closing pairs, and surrounding pairs specific to the Modelfile syntax.
- Line comments are defined with #.
- Brackets and pairs configurations are set for better code writing and editing experience.
- Updated package.json: The extension's package file has been updated to reference the new modelfile.language-configuration.json under the languages contribution section.
Impact
These changes will allow users to have a better editing experience when working with Modelfile syntax in VSCode, including features like proper comment toggling and auto-closing of brackets and quotes.
Testing
- Manual testing was conducted to ensure that the new language configurations work as expected.\
- Syntax highlighting and comment toggling behave correctly with the Modelfile syntax.
Additional Notes
- The path to the configuration file is relative to the project root and placed under the syntaxes directory for organizational purposes.
- The naming convention of the configuration file follows the existing pattern and is specific to the Modelfile language for clarity.
Looking forward to your feedback and suggestions on this addition.
Summary
This pull request introduces a new language configuration file for the Modelfile syntax and updates the
package.json
to reference this new file. These changes aim to enhance the editing experience for users working with Modelfile syntax in VSCode.Changes
- Added
modelfile.language-configuration.json
: This new file includes configurations for comments, brackets, auto-closing pairs, and surrounding pairs specific to the Modelfile syntax. - Line comments are defined with#
. - Brackets and pairs configurations are set for better code writing and editing experience. - Updatedpackage.json
: The extension's package file has been updated to reference the newmodelfile.language-configuration.json
under thelanguages
contribution section.Impact
These changes will allow users to have a better editing experience when working with Modelfile syntax in VSCode, including features like proper comment toggling and auto-closing of brackets and quotes.
Testing
- Manual testing was conducted to ensure that the new language configurations work as expected.\ - Syntax highlighting and comment toggling behave correctly with the Modelfile syntax.
Additional Notes
- The path to the configuration file is relative to the project root and placed under the
syntaxes
directory for organizational purposes. - The naming convention of the configuration file follows the existing pattern and is specific to the Modelfile language for clarity.Looking forward to your feedback and suggestions on this addition.