Notepad++ Formatting Rules/TI

Hi,

When working on rule files in an environemnt with multiple developers, I will copy the rules into notepad++ and continue there before merging back to the environment.
As the rules formatting in Arc is really well done, is there a way to setup the same formatting in notepad++? There is an option to export the rules formatting in json from Arc rules editor but notepad prompts for xml format.

Thanks,
Ronan

There are various notepad++ plugins for TM1 Rules and TIs available on the internet. They provide basic code formatting and syntax highlighting (I think most of them are modified versions of the C language formatters).

Arc provides additional functionality, including function pickers, context-sensitive, tm1-aware auto-complete, snippets and (now) blueprints. Here’s a deep dive into Arc’s code editing features.

Unfortunately, Arc’s syntax highlighting and code formatting logic is not compatible with notepad++ (they use completely different standards), and the additional functionality is (lovingly) hand-written code.

For notepad++, I’d just stick to one of the established plugins generously created by community members. They are about as close as you’ll get.

PS: Coming soon to Arc+ the ability to “lock” rules and processes while editing them, preventing other developers from editing at the same time. This might be a better solution than your copy/paste/merge workflow.

1 Like

Hi Harvey,

Thanks for the reply and further details. Looking forward to the upcoming lock enhancements as well.

Ronan

1 Like