File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2323 - ** Project-wide refactorings** can be performed with a single, concise command
2424 - Avoids wasted time and tokens on failed search/replace operations caused by misplaced spaces, indentations or typos;
2525- ** High-level abstractions** for complex refactoring operations via refactoring languages (currently supports Rope syntax);
26- - ** [ Relative indentation] ( grammar.js#L301-L366 ) ** for easily maintaining proper code structure;
26+ - ** [ Relative indentation] ( grammar.js#L306-L370 ) ** for easily maintaining proper code structure;
2727- Allows fetching or modifying targeted parts of code;
28- - ** Locations in code** : Doesn't use line numbers. Instead, offers [ more resilient alternatives] ( grammar.js#L241-L297 ) , like:
28+ - ** Locations in code** : Doesn't use line numbers. Instead, offers [ more resilient alternatives] ( grammar.js#L241-L300 ) , like:
2929 - ** [ Line] ( grammar.js#L243-L246 ) ** markers. Ex:
3030 - ` LINE "if name == 'some name':" `
3131 - ** [ Identifier] ( grammar.js#L248-L251 ) ** markers (` VARIABLE ` , ` FUNCTION ` , ` CLASS ` ). Ex:
Original file line number Diff line number Diff line change 11import logging
22import sys
3- from pathlib import Path
43from ctypes import cdll , c_void_p
54from os import fspath
5+ from pathlib import Path
66
77from tree_sitter import Language
88
1414
1515def language () -> Language :
1616 """Load the tree-sitter library for CEDARScript."""
17-
17+
1818 logger = logging .getLogger (__name__ )
1919 logger .setLevel ("DEBUG" )
20-
20+
2121 # Determine the appropriate library file based on the current architecture
2222 if sys .platform .startswith ('darwin' ):
2323 lib_name = 'libtree-sitter-cedar.dylib'
You can’t perform that action at this time.
0 commit comments