All these preferences and their implementation were implemented
before the LSP, and they are all disabled by default.
LAL-based features such as semantic highlighting, block folding are
now implemented in the ALS.
For eng/ide/gnatstudio#603
Create preferences for each languages using LSP.
Use by default the old engine for non-lsp language.
Remove Use-GNATFormat preference, we don't want to support
gnatpp anymore so it should be the default.
Move all the legacies Ada formatting preferences to Advanced:
keep them for now because we are still using the Legacy engine
by default.
Fix limit LSP span to filter Changes and not the Minimal Changes.
Adapt tests to the new preferences.
Closes eng/ide/gnatstudio#548
Both engines are coexisting and are now controlled by preferences.
Show the Ada indentation preferences not compatible with GNATformat
in a separate group and add a warning in the description of each
of them.
Create one for the construct engine and put it as the same level
as the LSP one. Both providers are supporting two requests:
OnTypeFormatting and OnRangeFormatting. There is no more concept
of indent vs format: these are internal settings/preferences
inside the providers.
Create preferences to choose the provider for each requests.
Create a preference to not move the cursor during formatting.
For eng/ide/gnatstudio#522
Since onTypeFormatting is not yet implemented in the ALS, and thus
we use rangeFormatting instead, which leads to a strange behavior
for now.
Change-Id: I5cf47066407b39a62a7c01cb7637779afea391ac
- autoindent* actions renamed to format* to follow actual
functionality that they do, corresponding changes in menu,
key shortcuts etc.
- added 'indent selection' action that only indent
current line/selection
- added 'Action on new line' preference for C/CPP to control
whether we do formatting or indenting when a new line has
been added.
- corresponding changes in tests
no-precommit-check
Change-Id: I245f1fa7dc6190c7e39bdced6fdba83d5f0356c1
Fine tune codepeer settings.
Code clean ups: address some codepeer messages either by improving the code
or making the code more explicit to avoid false positives.
Change-Id: I2abd61236b5ccd1b9b4d9dc9b8316b7f442e9862