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.

Include with relative path doesn't work

See original GitHub issue

Hi,

After the last update, all include with relative path are broken. I work on MacOS Mojave Exemple :

  • workspace path : /Users/me/workspace
  • file path : /Users/me/workspace/src/file.puml /Users/me/workspace/src/inc.puml

file “file.puml”

@startuml
!include inc.puml
@enduml

My error on vscode

Cannot include /Users/me/workspace/./inc.puml

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
qjebbscommented, Oct 12, 2018

Please update to 2.9.7.

See also README - Notice 1:

Latest version has changed the include files seach logic, it’s based on fixed path to workspace folder.

If you encounter include problem in your existed projects, to restore previous logic, please add following in workspace settings:

"plantuml.includeSearch": "Relative",

To new projects, it’s recommended to use fixed path, since it’s more easy to manage.

3reactions
qjebbscommented, Oct 12, 2018

OK, soon I will provide the setting…

Read more comments on GitHub >

github_iconTop Results From Across the Web

img tag not working with relative path in src - Stack Overflow
So when I have url like http://127.0.0.1:7777/www/ then all my relative urls working but then I use it as http://127.0.0.1:7777/www (no "/" at ......
Read more >
I cannot create relative path links - CSS - Codecademy Forums
I'm using a Safari browser. When I open the index.html file in the browser it looks as though the link to the css...
Read more >
HTML File Paths - W3Schools
When using relative file paths, your web pages will not be bound to your current base URL. All links will work on your...
Read more >
File path formats on Windows systems | Microsoft Learn
IO namespace include a path parameter that lets you specify an absolute or relative path to a file system resource. This path is...
Read more >
Absolute and Relative Paths
Relative Paths · By prefixing the first slash (/) in the path with a single (.) dot, you are declaring that the path...
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