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

Allow to specify additional NBLS document selectors from other extensions. #6174

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

dbalek
Copy link
Contributor

@dbalek dbalek commented Jul 10, 2023

Additional document selectors for NBLS can be specified in extension's package.json file as follows:

"contributes": {
	"netbeans.documentSelectors": [
		{
			"language": "yaml",
			"pattern": "**/{application,bootstrap}*.yml"
		},
		{
			"language": "properties",
			"pattern": "**/{application,bootstrap}*.properties"
		}
	]
	...
}

@dbalek dbalek added LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests labels Jul 10, 2023
@dbalek dbalek added this to the NB19 milestone Jul 10, 2023
@dbalek dbalek self-assigned this Jul 10, 2023
@dbalek dbalek merged commit 02a5586 into apache:master Jul 12, 2023
34 checks passed
@dbalek dbalek deleted the dbalek/nbls-document-selectors branch July 12, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSP [ci] enable Language Server Protocol tests VSCode Extension [ci] enable VSCode Extension tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants