[{"data":1,"prerenderedAt":241},["ShallowReactive",2],{"doc-features\u002Fpragma-editor":3,"content-query-ZHHnumBlNZ":4},null,{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":235,"_id":236,"_source":237,"_file":238,"_stem":239,"_extension":240},"\u002Fdocs\u002Ffeatures\u002Fpragma-editor","features",false,"","Pragma Editor","Edit code in Pragma with file tree, language intelligence, syntax highlighting, diffs, search, and terminal-aware workflows.",{"type":12,"children":13,"toc":227},"root",[14,22,39,45,50,57,62,107,113,118,151,156,162,167,200,205,211,216,222],{"type":15,"tag":16,"props":17,"children":19},"element","h1",{"id":18},"pragma-editor",[20],{"type":21,"value":9},"text",{"type":15,"tag":23,"props":24,"children":29},"div",{"className":25,"ariaHidden":28},[26,27],"docs-page-hero","docs-page-hero--clay","true",[30,32],{"type":21,"value":31},"\n  ",{"type":15,"tag":33,"props":34,"children":38},"img",{"src":35,"alt":8,"width":36,"height":37},"\u002Fimages\u002Fdocs-illustrations\u002Fpragma-editor.svg",128,72,[],{"type":15,"tag":40,"props":41,"children":42},"p",{},[43],{"type":21,"value":44},"Pragma includes a real code editor alongside the terminal and AI agent. Users can open projects, navigate files, edit code, review diffs, and run commands without switching tools.",{"type":15,"tag":40,"props":46,"children":47},{},[48],{"type":21,"value":49},"The editor is meant for everyday coding work: opening files, moving through a project, editing code, searching, reviewing changes, and sending useful context to the AI agent.",{"type":15,"tag":51,"props":52,"children":54},"h2",{"id":53},"core-editor-features",[55],{"type":21,"value":56},"Core Editor Features",{"type":15,"tag":40,"props":58,"children":59},{},[60],{"type":21,"value":61},"The editor supports:",{"type":15,"tag":63,"props":64,"children":65},"ul",{},[66,72,77,82,87,92,97,102],{"type":15,"tag":67,"props":68,"children":69},"li",{},[70],{"type":21,"value":71},"File tree navigation.",{"type":15,"tag":67,"props":73,"children":74},{},[75],{"type":21,"value":76},"Syntax highlighting.",{"type":15,"tag":67,"props":78,"children":79},{},[80],{"type":21,"value":81},"Language-aware editing.",{"type":15,"tag":67,"props":83,"children":84},{},[85],{"type":21,"value":86},"Search across project files.",{"type":15,"tag":67,"props":88,"children":89},{},[90],{"type":21,"value":91},"Multiple open files.",{"type":15,"tag":67,"props":93,"children":94},{},[95],{"type":21,"value":96},"Diffs and review views.",{"type":15,"tag":67,"props":98,"children":99},{},[100],{"type":21,"value":101},"Vim-style workflows where enabled.",{"type":15,"tag":67,"props":103,"children":104},{},[105],{"type":21,"value":106},"Integration with terminal and agent context.",{"type":15,"tag":51,"props":108,"children":110},{"id":109},"language-intelligence",[111],{"type":21,"value":112},"Language Intelligence",{"type":15,"tag":40,"props":114,"children":115},{},[116],{"type":21,"value":117},"Pragma can work with language servers where available. This gives users:",{"type":15,"tag":63,"props":119,"children":120},{},[121,126,131,136,141,146],{"type":15,"tag":67,"props":122,"children":123},{},[124],{"type":21,"value":125},"Go to definition.",{"type":15,"tag":67,"props":127,"children":128},{},[129],{"type":21,"value":130},"Hover information.",{"type":15,"tag":67,"props":132,"children":133},{},[134],{"type":21,"value":135},"Diagnostics.",{"type":15,"tag":67,"props":137,"children":138},{},[139],{"type":21,"value":140},"Symbol search.",{"type":15,"tag":67,"props":142,"children":143},{},[144],{"type":21,"value":145},"Rename support.",{"type":15,"tag":67,"props":147,"children":148},{},[149],{"type":21,"value":150},"Autocomplete.",{"type":15,"tag":40,"props":152,"children":153},{},[154],{"type":21,"value":155},"Language support depends on the project and installed language tooling.",{"type":15,"tag":51,"props":157,"children":159},{"id":158},"file-search",[160],{"type":21,"value":161},"File Search",{"type":15,"tag":40,"props":163,"children":164},{},[165],{"type":21,"value":166},"Users can search by:",{"type":15,"tag":63,"props":168,"children":169},{},[170,175,180,185,190,195],{"type":15,"tag":67,"props":171,"children":172},{},[173],{"type":21,"value":174},"File name.",{"type":15,"tag":67,"props":176,"children":177},{},[178],{"type":21,"value":179},"Symbol.",{"type":15,"tag":67,"props":181,"children":182},{},[183],{"type":21,"value":184},"Text content.",{"type":15,"tag":67,"props":186,"children":187},{},[188],{"type":21,"value":189},"Commands.",{"type":15,"tag":67,"props":191,"children":192},{},[193],{"type":21,"value":194},"Workflows.",{"type":15,"tag":67,"props":196,"children":197},{},[198],{"type":21,"value":199},"Notebooks.",{"type":15,"tag":40,"props":201,"children":202},{},[203],{"type":21,"value":204},"This is especially useful in large projects where browsing folders manually is slow.",{"type":15,"tag":51,"props":206,"children":208},{"id":207},"diffs",[209],{"type":21,"value":210},"Diffs",{"type":15,"tag":40,"props":212,"children":213},{},[214],{"type":21,"value":215},"Diff views help users see what changed before they accept, commit, or discard edits. This matters when changes were produced by an AI agent or when reviewing teammate work.",{"type":15,"tag":51,"props":217,"children":219},{"id":218},"editor-and-terminal-together",[220],{"type":21,"value":221},"Editor And Terminal Together",{"type":15,"tag":40,"props":223,"children":224},{},[225],{"type":21,"value":226},"The main advantage of Pragma is that the editor and terminal are not separate worlds. A command can create an error, the editor can open the failing file, and the AI agent can use both pieces of context to help fix the problem.",{"title":8,"searchDepth":228,"depth":228,"links":229},2,[230,231,232,233,234],{"id":53,"depth":228,"text":56},{"id":109,"depth":228,"text":112},{"id":158,"depth":228,"text":161},{"id":207,"depth":228,"text":210},{"id":218,"depth":228,"text":221},"markdown","content:docs:features:pragma-editor.md","content","docs\u002Ffeatures\u002Fpragma-editor.md","docs\u002Ffeatures\u002Fpragma-editor","md",1794695987349]