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

Clickable file links in log #41

Open
zendorx opened this issue Apr 12, 2024 · 4 comments
Open

Clickable file links in log #41

zendorx opened this issue Apr 12, 2024 · 4 comments
Labels
enhancement New feature or request known limitation

Comments

@zendorx
Copy link

zendorx commented Apr 12, 2024

sc

I have issue that file links in log not clickable. I use VSCode 2 on Mac os.

@astrochili astrochili added the enhancement New feature or request label Apr 12, 2024
@astrochili
Copy link
Owner

I'm not sure it's ever worked this way before. Is it possible to implement this, are there any example logs in vscode where this works?

@zendorx
Copy link
Author

zendorx commented Apr 12, 2024

Снимок экрана 2024-04-12 в 12 51 45

It does work for output window. I assume it possible do the same for log

@zendorx
Copy link
Author

zendorx commented Apr 12, 2024

Снимок экрана 2024-04-12 в 13 02 37

BTW it does work in debug console. But if path is full. Maybe there some way to specify some regex for it

@astrochili
Copy link
Owner

astrochili commented Apr 12, 2024

Stack traceback paths are different from full paths and it's something we have no influence on in this case, it's the text that is returned by the game engine. Yeap, VS Code is not ready to accept such paths as links 😀 No idea yet on how to make it work 😔

I mean that Defold Kit is not involved in mediating this output in any way, it's output directly from running dmengine to the console. Well, maybe there is some kind of a pass through the local lua debugger, but that won't help us much for the solution either (about integrating regex parsing and replacing paths).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request known limitation
Projects
None yet
Development

No branches or pull requests

2 participants