flutter-intellij
                                
                                
                                
                                    flutter-intellij copied to clipboard
                            
                            
                            
                        Allowing Intellij Macros in Run/Debug Configurations dialog.
Steps to Reproduce
Currently, this flutter plugin does not support macros like $FilePathRelativeToProjectRoot$ as target Test file in Run/Debug Configurations dialog.
Allowing that would enable users to run test files out of the /test folder conveniently. For large projects, it's sometimes better to put test file in the same directory with the logic being tested.
Version info
All versions.
The request is to replace absolute paths with path macros when a run config is serialized. See:
- https://stackoverflow.com/questions/44802832/phpstorm-template-variables-documentation
 <as-src>/tools/idea/platform/projectModel-impl/src/com/intellij/application/options/PathMacrosImpl.java
I am using asdf package manager to manage different versions of Flutter. I need to use a an environment variable instead of absolute path which will help me to pick a specific version of flutter based on the project configuration.
The environment variable is declared as following:
export FLUTTER_ROOT="$(asdf where flutter)"
This returns me the correct Flutter path which is configured based on the place where the command was executed. Hence if I am able to use this env variable, I would be able to use the correct SDK path based project configuration.