sevdokimov / FriendlyTerminal

Public issue tracking for Friendly Terminal IntelliJ plugin.
7 stars 0 forks source link

Incorrect directory location in auto-complete feature when using FriendlyTerminal with WSL #12

Open apollonmeddev opened 1 year ago

apollonmeddev commented 1 year ago

Currently, when using the FriendlyTerminal IntelliJ plugin with Windows Subsystem for Linux (WSL), the auto-complete feature is not functioning correctly. Specifically, the plugin seems to be identifying the root of the project drive as the current directory, rather than the actual directory where the project is located.

Steps to Reproduce:

Install FriendlyTerminal plugin in IntelliJ. Open a project located in a directory on the WSL file system. Open FriendlyTerminal and navigate to the project directory. Try to use the auto-complete feature in FriendlyTerminal. Expected Behavior: The auto-complete feature should display suggestions based on the files and folders located in the current directory of the project.

Actual Behavior: The auto-complete feature displays suggestions based on the files and folders located in the root of the D: drive.

Workaround: Currently, there is no known workaround for this issue.

Impact: This issue impacts any user of the FriendlyTerminal plugin who is using WSL and relies on the auto-complete feature to navigate and work with their project files.

Proposed Solution: Investigate the root cause of the issue and implement a fix that accurately identifies the current directory location in WSL when using the auto-complete feature.

image

Igzak commented 1 year ago

I'm also facing the same issue with the FriendlyTerminal plugin when using it with WSL. The auto-complete feature is not displaying suggestions based on the current project directory, making it difficult to navigate and work with my project files. I hope this issue gets resolved soon.

sevdokimov commented 1 year ago

I cannot reproduce the problem. Which Linux is in WSL?

Igzak commented 1 year ago

I cannot reproduce the problem. Which Linux is in WSL?

image

sevdokimov commented 1 year ago

@Igzak Thanks. Could you execute ls -lahnF // in the plugin when you experiencing the problem? The plugin uses ls -lahnF // command to list files in the root, I need to see the output.

Igzak commented 1 year ago

WSL 1 image WSL 2 image