Skip to content

Add parsing of %directory% in Run command#1

Open
aryasenna wants to merge 3 commits intomasterfrom
aryasenna-patch-run_parse_dir
Open

Add parsing of %directory% in Run command#1
aryasenna wants to merge 3 commits intomasterfrom
aryasenna-patch-run_parse_dir

Conversation

@aryasenna
Copy link
Copy Markdown
Owner

The parsing of %directory% placeholders is advertised in the run menu, but the code wasn't actually there.
image

The current directory is retrieved using QFileInfo since QUrl does not provide clean directory path without "file://" scheme. Also to avoid the use of hard-coded regex.

%path% parsing is there but it's not advertised, but seems okay to leave it as is.

Parsing of %directory% is advertised in the run menu, but the code wasn't there.
Retrieve current dir using QFileInfo since QUrl does not provide clean dir_path without "file://" scheme.
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

Successfully merging this pull request may close these issues.

1 participant