diff --git a/README.md b/README.md index dc7cd995..89dc2008 100644 --- a/README.md +++ b/README.md @@ -273,22 +273,23 @@ Here is an overview of the modules: - add nicer way to write: - StringGetPointer, StringGetLength - <, <=, etc -- fix pressing . at end of string literal creates member access node instead of inserting into string - add bool type - make [] work with strings -- add type conversions - add char literal -- change rendering of deref/addressOf to postfix -- add selection history - add string escape and/or allow entering \n -- for loops - auto open completion window? - auto accept completion exact match even if other/longer completions exist -- floats - render actual types in type placeholders -- add move cursor to next/prev function/declaration/statement/expression etc - add text based search (fuzzy?) -- add global symbol finder -- goto definition to other files +- add validation for all ast node types +- allow deleting selection in e.g. property cells +- make node reference not editable +- don't allow node substitution keys on empty expressions +- improve auto parenthesis for cells +- add struct scoped functions +- support copying multiple nodes +- fix deleting e.g parameters not possible +- fix deleting e.g struct member type bug +- add move to next error command [Test report](https://nimaoth.github.io/Absytree/testresults.html) \ No newline at end of file diff --git a/src/ast/base_language.nim b/src/ast/base_language.nim index e67ffc7d..ab077002 100644 --- a/src/ast/base_language.nim +++ b/src/ast/base_language.nim @@ -678,7 +678,7 @@ builder.addBuilderFor returnClass.id, idNone(), proc(builder: CellBuilder, node: builder.addBuilderFor nodeReferenceClass.id, idNone(), proc(builder: CellBuilder, node: AstNode, owner: AstNode): Cell = if node.resolveReference(IdNodeReferenceTarget).getSome(targetNode): if targetNode.nodeClass.isSubclassOf(IdINamed): - return PropertyCell(id: newId().CellId, node: owner ?? node, referenceNode: targetNode, property: IdINamedName, themeForegroundColors: @["variable", "&editor.foreground"]) + return PropertyCell(id: newId().CellId, node: owner ?? node, referenceNode: targetNode, property: IdINamedName, themeForegroundColors: @["variable", "&editor.foreground"], disableEditing: true) var cell = CollectionCell(id: newId().CellId, node: owner ?? node, referenceNode: node, uiFlags: &{LayoutHorizontal}) cell.fillChildren = proc(map: NodeCellMap) =