-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add egs_view egsinp editor with autocompletion for all egs++ apps #1164
Draft
Xuan-Zheng05
wants to merge
40
commits into
nrc-cnrc:develop
Choose a base branch
from
Xuan-Zheng05:add-egs-view-editor3
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initial commit with very basic groundwork for a text editor in egs_view. Adds some syntax highlighting, and begins building a structure in geometries to return input keys. Includes debug statements and nonsense behaviour.
Initial commit with very basic groundwork for a text editor in egs_view. Adds some syntax highlighting, and begins building a structure in geometries to return input keys. Includes debug statements and nonsense behaviour.
Add support for all of the geometries in the egs_view editor.
Recent changes to egs_view were missing some necessary additions to the ui file. These have been included, along with a couple minor changes. Also set the compiler flags to use std=c++14 instead of std=c++11.
Add egs_editor support for iaea_phsp_source. Also remove the c++14 flag for egs_view since it should already be included for all C++ in order for egs++ to compile.
Remove or improve debug messages. Add handling of the EDITOR_DEBUG define for egs_editor debugging.
Add auto-completion for apps, ausgab objects, materials and run control. Add dropdown for user to select application in egs_editor. Full support for pegsless materials not quite done.
rtownson
force-pushed
the
add-egs-view-editor3
branch
from
September 18, 2024 13:54
88fda0d
to
99e2cbb
Compare
Rebased on develop. This PR still needs a bit of love to finish off. Double checking the tooltips for consistency & usefulness, showing the 'current application' in the editor, and improving the names of the examples in the drop-down. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a new tab in egs_view that allows for editing and saving egsinp files for egs++.
The new code all over the egs++ library provide a structure by which an external library like egs_view can extract all of the input parameters. It's used for input validation, syntax highlighting, autocompletion, etc.
Recent changes include support for application inputs, run control, transport parameters. Pegless material support is in progress.
Note that this includes an astyle run on all the sources, geometries and ausgab objects, so it looks like there are more changes than there are. If you view the diff while hiding whitespace, then you will see the real changes.
This replaces PR #885.