Skip to content
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

Rename object #2

Open
e9gille opened this issue Apr 17, 2016 · 0 comments
Open

Rename object #2

e9gille opened this issue Apr 17, 2016 · 0 comments

Comments

@e9gille
Copy link
Contributor

e9gille commented Apr 17, 2016

Renaming in IDE

Renaming using the WS Explorer can't be tracked and is therefore not supported. Functions and scripts can simply be renamed in the Editor at which point a new object is created and written to file. The original will then need to be deleted.
Renaming a namespace is a bit trickier. Add a GAP.Rename 'source' 'target' function that deals with the objects in- and outside the IDE.

Renaming in File system

As all file and folder names are suffixed with a tag to keep track of casing, simply renaming the file/folder in the file system must be done by leaving out the tag suffix. This should then be added by the GAP.Import function. Any files or folders without the case tag should be renamed to include a valid tag based on the OS reported casing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant