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

Use RNIDE prefix instead of rnp for all global variables and custom commands #40

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

kmagiera
Copy link
Member

This PR renames global variables and commants we'd prefixed with "rnp" to be prefixed with "RNIDE". This way they will clearly indicate what projects they are associated with in case of some errors users may see.

We are also adding prefix for the navigation integration global method global.__RNIDE_register_navigation_plugin as well as adding global.__RNIDE_enabled variable to indicate when the app runs inside of the IDE (to be used by external integrations)

Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-native-ide ✅ Ready (Inspect) Visit Preview Mar 27, 2024 11:28am

@kmagiera kmagiera merged commit 94e8c4e into main Mar 27, 2024
3 checks passed
@kmagiera kmagiera deleted the kmagiera/rename-globals-prefix branch March 27, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant