• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

language-geant4-macro

Syntax highlighting for Geant4 macros
  • #geant4
  • #grammar
  • #syntax
natl
1.2.1 458
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

language-geant4-macro package

Syntax highlighting and autocompletion for Geant4 macros.

Geant4 macro syntax highlighting and autocompletion

How to get it:

apm install language-geant4-macro

Geant4 is licensed under the Geant4 software license. This is an unofficial user project.

Customising the command list

To rebuild the command dictionary, you can replace G4command.txt with your own file made by dumping all the Geant4 UI commands within the scope, which you do by running this command:

/control/manual /

Then, run (in the package directory):

python process_commands.py

This will replace the completions.json file with the commands particular to the G4UI commands within G4command.txt file

If your custom commands have the guidance properly set up, then you should also be abe to access the guidance by hovering over the functions (note that there should only be one function per line of the macro file.) Tooltips to display guidance

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by