Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension suggests only absolute path to file #30

Open
buczekmatthias opened this issue Apr 18, 2024 · 10 comments
Open

Extension suggests only absolute path to file #30

buczekmatthias opened this issue Apr 18, 2024 · 10 comments

Comments

@buczekmatthias
Copy link

Hello,

for a while I have this problem that extension only suggests absolute path to file instead of File or Folder/File way as it was intended to do.

I didn't change any default settings of extension.

ext

@nhedger
Copy link
Owner

nhedger commented May 20, 2024

Hey @buczekmatthias,

Would you be able to provide a reproduction repository?

If you have changed the default settings in the meantime, please also include a copy of those

@buczekmatthias
Copy link
Author

Thanks for response @nhedger,

problem appears in all repositories, even fresh ones, here is fresh repo as example.

I didn't make any changes in settings.

@nhedger
Copy link
Owner

nhedger commented May 20, 2024

Weird, I can't seem to reproduce.

Screen.Recording.2024-05-20.at.20.44.00.mov

Seems to work on macOS at least, looks like you're using Windows, I'll try to reproduce on a windows machine when I have a minute.

@nhedger
Copy link
Owner

nhedger commented May 20, 2024

Can you confirm that your inertia.pages setting is set to resources/js/Pages/**/*.vue ?

@buczekmatthias
Copy link
Author

buczekmatthias commented May 20, 2024

Yes it is. I just tested setting this setting to that value. Also made tests with no extensions and default settings of VSCode and other extensions, it gave same result.

Edit: And yes I use Windows

@nhedger
Copy link
Owner

nhedger commented May 20, 2024

Alrighty, thanks for the info, I'll let you know asap.

@nhedger
Copy link
Owner

nhedger commented May 25, 2024

Ok so it looks like you'll want to change resources/js/Pages/**/*.vue to resources\js\Pages\**\*.vue on windows. Could you try and let me know how it goes ?

@buczekmatthias
Copy link
Author

Unfortunately, it didn't work for me, suggestion is still absolute path. Tried once again with clean VSC profile to ensure it's not messed by some setting or extension.

@nhedger
Copy link
Owner

nhedger commented May 26, 2024

Kinda hard to reproduce. I'll leave this open just in case someone encounters a similar issue and has more insight. If you happen to find out what is happening, please let me know.

@CarlosEGuerraSilva
Copy link

Same issue here
image
And when you autocomplete inserts full path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants