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

support language specific preferences #4296

Merged
merged 1 commit into from
Feb 11, 2019

Conversation

akosyakov
Copy link
Member

fix #1106 - language specific preferences
fix #3540 - configurationDefault vscode contribution point in order to provide default language specific preferences

lang_preferences

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@@ -18,7 +18,8 @@ import { RPCProtocol } from '../api/rpc-protocol';
import { Disposable } from '@theia/core/lib/common/disposable';
import { LogPart, KeysToAnyValues, KeysToKeysToAnyValue } from './types';
import { CharacterPair, CommentRule, PluginAPIFactory, Plugin } from '../api/plugin-api';
import { PreferenceSchema } from '@theia/core/lib/browser/preferences';
// FIXME get rid of browser code in backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to detect/forbid such imports automatically ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, should not be hard to write custom tslint rule for our conventions

Copy link
Contributor

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[plug-in] Implement 'configurationDefault' contribution point Support language specific editor preferences
3 participants