Releases: mkslanc/ace-linters
Releases · mkslanc/ace-linters
v1.8.1
What's Changed
- add
manualSessionControl
provider option to disable automatic session registration. When enabled, you must manually handle session changes:
// Create provider with manual session control
let languageProvider = LanguageProvider.create(worker, {
manualSessionControl: true
});
// Register sessions manually
languageProvider.registerSession(editor.session, editor, {
filePath: 'path/to/file.ts',
joinWorkspaceURI: true
});
// Handle session changes manually
editor.on("changeSession", ({session}) => {
languageProvider.registerSession(session, editor, session.lspConfig);
});
- add
setSessionLspConfig
method to set LSP configuration on Ace sessions:
// Set LSP configuration on session
languageProvider.setSessionLspConfig(editor.session, {
filePath: 'src/components/MyComponent.tsx',
joinWorkspaceURI: true
});
- add
setDocumentOptions
method to replace deprecatedsetSessionOptions
:
// Configure document-specific options (replaces setSessionOptions)
languageProvider.setDocumentOptions(editor.session, {
// service-specific options here
});
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
Breaking Changes
setSessionFilePath
method signature changed to accept configuration object instead of separate parameters
Migration Guide
// Old way
languageProvider.setSessionFilePath(session, filePath, true);
// New way
languageProvider.setSessionFilePath(session, {
filePath: filePath,
joinWorkspaceURI: true
});
Full Changelog: v1.7.1...v1.8.0
v1.7.1
v1.7.0
v1.6.0
v1.5.3
What's Changed
- Add support for edit text autocompletion by @jpverdejo in #171
New Contributors
- @jpverdejo made their first contribution in #171
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
- add pull request ci workflow by @nightwing in #165
- Fix: tests in ci by @mkslanc in #166
- Feat: Add options to modify the trigger characters from language server by @userNotFoundByDefault in #161
- Fix: trigger characters; update services by @mkslanc in #168
New Contributors
- @nightwing made their first contribution in #165
- @userNotFoundByDefault made their first contribution in #161
Full Changelog: v1.5.1...v1.5.2