CodeEditSourceEditor icon indicating copy to clipboard operation
CodeEditSourceEditor copied to clipboard

Make JSDoc Highlight as Comments

Open thecoolwinter opened this issue 1 year ago • 0 comments

Description

Makes JSDocs highlight as comments. Because they're injected as a different language they don't get captured normally. This is the only language we have to handle this in so it's hard-coded in the TreeSitterClient.

Also adds a quick check to prevent potential recursive cursor notifications using SwiftUI.

Related Issues

Checklist

  • [x] I read and understood the contributing guide as well as the code of conduct
  • [x] The issues this PR addresses are related to each other
  • [x] My changes generate no new warnings
  • [x] My code builds and runs on my machine
  • [x] My changes are all related to the related issue above
  • [x] I documented my code

Screenshots

Screenshot 2024-02-02 at 7 37 19 PM

thecoolwinter avatar Feb 03 '24 01:02 thecoolwinter