Allow matching on partial words combined with camel case for autocompletion (Resharper style) #3
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm a user of https://github.com/lukebuehler/CShell which uses AvalonEdit for code completion. I originally filed this at https://github.com/lukebuehler/CShell/issues/25 but am refiling it here.
I'd like it if code completion allowed on matching within a word combined with the camel case completion. For example if I want
DateTimeI could enterdt, see that there are still a lot of types that matchdtvia camel case completion and continue on to typedtime, which will filter the list down to just a couple choices, one of which isDateTime.This idea is heavily based on my use of Resharper which allows this sort of query.
One approach to this would be:
This could alternately require the query to match starting at the beginning of the text by changing 1. to:
AvalonEdit already has some logic that makes
cctmatchcamelCaseText.I think these kind of smart matching strategies will end up being language-dependent if done properly. AvalonEdit should expose a callback so that user code can override the built-in matching strategy.