annotate_models icon indicating copy to clipboard operation
annotate_models copied to clipboard

Allow annotating models and routes using sorbet's static checks

Open wteuber opened this issue 5 months ago • 0 comments

This PR allows Annotate to recognize and keep Sorbet's static checks sigils.

Diff after running annotate for models and routes with Sorbet static check sigils:

Before

-# typed: true
 # frozen_string_literal: true
 
+# == Schema Information
+#
+# Table name: …
+#
+#  …
+#
+# typed: true
+

After

 # typed: true
 # frozen_string_literal: true
 
+# == Schema Information
+#
+# Table name: …
+#
+#  …
+#

wteuber avatar Sep 03 '24 18:09 wteuber