(module name): (short issue description)
- Langage dominant
- JavaScript
- Étoiles
- 27.1k
- Forks
- 5.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Describe the bug
Typing same exact complete key sequence for a valid syntax can give different resulting text depending on wether Behaviours are turned on or not. Potentially producing text with syntax error.
### Expected Behavior
The expected behaviour when "auto-close" - that is Behaviours - is turned-on
is that upon typing the closing character that "auto-close" already inserted
it is matched and cursor just moves rather than inserting closing charater again.
This can be observed in lots of other code editors like IntelliJ, Visual Studio..., even Notepad++ does it.
### Current Behavior
For Ex: typing the valid syntax sequence:
`functionname(parameter)`
Without Behaviours will result in valid:
`functionname(parameter)`
But with ACTIVE Behaviours will produce INVALID
`functionname(parameter))`
Same thing for all other sorts auto-close(s)
### Reproduction Steps
For Ex: typing the valid syntax sequence:
`functionname(parameter)`
Without Behaviours will result in valid:
`functionname(parameter)`
But with ACTIVE Behaviours will produce INVALID
`functionname(parameter))`
Same thing for all other sorts auto-close(s)
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### Ace Version / Browser / OS / Keyboard layout
1.43.5 / ...
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.