This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
Add scoped settings to user config #3718
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
416898e
Scope usage of editor.nonWordCharacters
benogle 339cb02
Scope editor.tabLength
benogle 8cd217e
Handle changes to the tabLength setting
benogle 857fd5e
Retokenize when setTabLength() was called.
benogle fbcaaba
Fix weird spec
benogle 938f216
Scope softWrap, softWrapAtPreferredLineLength, preferredLineLength
benogle c1ff53b
getCurrentScopeDescriptor -> getGrammarScopeDescriptor
benogle 237c668
Scope editor.invisibles and editor.showInvisibles
benogle 6958e0a
Scope editor.normalizeIndentOnPaste
benogle ca4c409
Scope editor.autoIndent
benogle fbe4cf5
Invisibles will be set in a call to updateInvisibles()
benogle 2605044
Scope editor.showIndentGuide
benogle d3b00f6
Fix spec
benogle f662b3d
:lipstick: Normalize the names of related subscription things
benogle b44a5dd
Use jasmine json
benogle a3bbbc1
Read and write scoped settings from the user’s config
benogle 2a73d70
:lipstick: Clean up spec names
benogle 26524e8
:lipstick: tests
benogle c315631
Remove scopeDescriptor from getTabLength
benogle 8910dd1
Update to not new format from propertiesForSource
benogle d7cd0de
Upgrade scoped-property-store
benogle f2d480f
getGrammarScopeDescriptor -> getRootScopeDescriptor
benogle 841412b
Fix spec
benogle c2081fa
:lipstick: test
benogle a28fed8
:memo: Expose TextEditor::observeGrammar
benogle c154b8f
:lipstick: edit spec descriptions
benogle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly here, why not just test the
isSoftWrappedproperty. We presumably have tests for when that property changes elsewhere? Though you could confirm.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was actually no observation of
editor.softWrapbefore this PR, so this is a new test.