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.

Improve handling for Path auto-select or use Path Input component

See original GitHub issue

depends-on: spring-projects/spring-shell#474

What needs to be done

The auto-completion added with #261 is already helpful. But the handling can be improved to allow faster navigation through the filesystem.

Before spending time on this it makes sense to see if the new Path Input solves this and can be used instead.

scan <tab>

The scan auto-completion

  • never shows files
  • takes . as current dir
  • shows all dirs in current dir
  • and .. if current dir has parent dir
current

>scan --projectRoot <cursor>

expected
>scan <cursor>
.                  ..                 ./.rewrite-cache   ./src              ./target

scan .<tab>

expected
>scan .<cursor>
.                  ..                 ./.rewrite-cache   ./src              ./target

scan ..<tab>

current

Currently, there’s a space added instead of a / which requires user input to replace the space with / when navigating dirs

scan ..** ** <cursor>

expected
`scan ../<cursor>`
..                 ../dir1         ../dir2                  ../etc

https://user-images.githubusercontent.com/56278322/182410264-1eacbe83-6dd1-4d73-aba3-efbf5a96d5b3.mp4

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fabapp2commented, Nov 3, 2022

Let’s wait for your branch to merge first then; I’ll be on holiday myself starting next week until the end of the year, so anyone welcome to pick this up in the meantime. 😃

Enjoy your well-deserved holiday @timtebeek ! 🌴

1reaction
timtebeekcommented, Nov 1, 2022

Let’s wait for your branch to merge first then; I’ll be on holiday myself starting next week until the end of the year, so anyone welcome to pick this up in the meantime. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handle change on Autocomplete Component from material ui
I want to use Autocomplete component for input tags. I'm trying to get the tags and save them on a state so I...
Read more >
The ultimate guide for form design: the perfect form - Medium
This article provides general guidelines to design a better form. A typical form has 5 main components: Structure: The form's appearance on the ......
Read more >
<input type="file"> - HTML: HyperText Markup Language | MDN
A file input's value attribute contains a string that represents the path to the selected file(s). If no file is selected yet, ...
Read more >
How To Handle DOM and Window Events with React
In this tutorial, you'll learn how to handle events in React. You'll build several sample components that handle user events, including a self- ......
Read more >
Path Tracer - Unreal Engine Documentation
Temporal stability can be improved when using Movie Render Queue to increase the Temporal Sample Count in the Anti-Aliasing module settings. Optix Denoise ......
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