Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

support global vars for custom path #5

Merged
merged 2 commits into from
Apr 18, 2017

Conversation

edolphin-ydf
Copy link

No description provided.

@InsaneDoggo
Copy link
Owner

Hi, thx for your request, i'll add this feature after some checks. P.S. i'm working on plugin in leisure time, so it may take few days.

@InsaneDoggo
Copy link
Owner

InsaneDoggo commented Apr 18, 2017

What did you mean by:

it could be empty, this may means ignore this search

  1. Cancel one action then continue search?
  2. Cancel CustomPath and create in default path?
  3. Cancel creating element (template, dir)?

@InsaneDoggo InsaneDoggo merged commit 12f8cd9 into InsaneDoggo:master Apr 18, 2017
@InsaneDoggo
Copy link
Owner

InsaneDoggo commented Apr 18, 2017

Here #2 u can downlaod version with your feature. Notify me if it works not as expected.
P.S. u shoud use ${DS} for dollar sign $. (important for Regex ).

@edolphin-ydf
Copy link
Author

Hi, the pic below is an example, the global var ${mult} is an optional var, so it may be an empty string.
In this case, i want the plugin ignore this action and continue search the next one. If not, it will search path with an empty string and report an error not found. So, answer your question, i means 1. Cancel one action then continue search?

@InsaneDoggo
Copy link
Owner

In this case your pull-request is correct, all must works fine.

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

Successfully merging this pull request may close these issues.

2 participants