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

Scopes of scratches #577

Open
sxhya opened this issue Dec 2, 2024 · 0 comments
Open

Scopes of scratches #577

sxhya opened this issue Dec 2, 2024 · 0 comments

Comments

@sxhya
Copy link
Collaborator

sxhya commented Dec 2, 2024

Select any piece of text and use Create new scratch file from selection intention to create a separate .ard-file outside of Arend project (this is a standard Intellij feature)

Currently every such scratch displays message that it is outside of sources folder.
image

  1. A reasonable implementation, IMO is to link the created scratch to the project where it was created and use project's src directory as (implicit, non-configurable) src folder for the scratch.
  2. Modify default behavior of this intention in such a manner that it would create \import-header in the destination scratch for all links mentioned in the migrated piece of text.
@sxhya sxhya changed the title Visibility of scratches Scopes of scratches Dec 2, 2024
alex999990009 added a commit that referenced this issue Jan 24, 2025
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

2 participants