JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
80 stars 49 forks source link

mpsutil.intentions: Add an annotation "Toggle Show Intention In Read-Only Cell" #706

Closed alexanderpann closed 8 months ago

alexanderpann commented 8 months ago

This is a follow-up of https://github.com/JetBrains/MPS-extensions/pull/691: Intentions in read-only cells can now be disabled by adding this annotation to an intention declaration and setting the flag to true.

alexanderpann commented 8 months ago

I suppose accessing intentionDeclaration here could cause a NPE.

No. All smodel operations are null-safe.