Skip to content

Feature request: (optionally) compile imported code #335

Closed
@zdateh

Description

@zdateh

When switching to a different branch, it is necessary to do an "Import All" via the Studio git menu. This works as advertised, but for the imported code to be executable it needs to be compiled again, otherwise you'll still be running the previous branch. For this we go into the command line and do:

do $SYSTEM.OBJ.CompileAll() ; Compiles all classes
do ##class(%Library.Routine).CompileAll() ; Compiles all routines

Which is fine, but ideally the Import would automate this. Perhaps a separate 'Import All and Compile' option? Or a Yes/No prompt after Importing? Or perhaps a global setting to control compilation?

Thanks,
Chris

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions