question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Path completion does not work properly with upper case characters and empty string

See original GitHub issue

This is valid link (just to demonstrate full path)

[Flatten](app/src/test/java/com/igorwojda/list/flatten/Flatten.md)

Broken case 1 [a](F)

Put a caret after F and hid path completion (crtl+space) - no code completion popup is displayed, however upper case F matches the file name (maybe we should ignore letter casing for paths?)

Broken case 2 path completion also don’t work in the simplest case [a]() I would expect all path will be displayed in the above after I hit path completion (crtl+space) while caret is between ( and )

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vschcommented, Jan 23, 2019

@igorwojda, had to do another quick fix. The order of deletion/insertion of completion mods was causing the IDE to loose the caret position and always reset to start of completion field.

Version 2.7.0.76 fixes it. Most likely you did not update to 2.70.74 before 76 was released.

0reactions
vschcommented, Jan 23, 2019

@igorwojda, as usual there are IDE side-effects. When completion is not case sensitive then the IDE will change the case of the inserted completion to match user typed prefix.

So [](flatten|) will lower case the inserted completion

So [](FLATTEN|) will upper case the inserted completion

I added logic to completely replace the IDE inserted completion with the completion I provide so the case is preserved. Otherwise, it was hell on wheels trying to get mixed case file names to complete correctly.

If no significant bugs are reported for the next couple of days, this will be the released code base for 2.8.0. I’m keeping my fingers crossed.

EAP update with a fix for the issue is available.

Installing EAP Plugin Version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Escape slashes in bash complete - Stack Overflow
I have problems when an option contains a path like in -F/dev/null . If -F was already typed, then a Tab completes it...
Read more >
Terminal autocomplete doesn't work properly - Ask Ubuntu
If your case is terminal tab not working under Xfce, the solution is as follows: Open Application Menu > Settings > Window Manager....
Read more >
vertico.el - VERTical Interactive COmpletion - GitHub
Submitting the empty string​​ Directly pressing RET ( vertico-exit ) does not work since the first candidate is preselected. In both cases the...
Read more >
20 Completion System - zsh
To force a check of exactly the directories currently named in fpath, set _compdir to an empty string before calling compaudit or compinit....
Read more >
Auto-completion - Notepad++ User Manual
If the string on the left of caret is not part of one of the system paths, the path list won't appear. How...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found