Reference

Reference Documentation

Comprehensive technical reference for all Lokus features, APIs, and capabilities.

What's in the Reference

This section contains complete, detailed documentation for every aspect of Lokus:

All Features

Complete documentation for every Lokus feature:

  • Complete Features Reference - Detailed docs for all features
  • Feature Matrix - Compatibility and availability information
  • Feature Comparison - How features work together

API Reference

Technical documentation for developers:

  • API Documentation - Complete API reference
  • Plugin APIs - All plugin development interfaces
  • Editor APIs - Programmatic editor control
  • File System APIs - Secure file operations

Keyboard Shortcuts

Complete shortcut reference:

  • All Keyboard Shortcuts - Every available shortcut
  • Platform-specific - Mac, Windows, and Linux variations
  • Context-sensitive - Shortcuts by application area
  • Customization - How to modify shortcuts

Quick Reference

Most Used Features

API Quick Links

  • Editor Control: lokus.editor.* methods
  • File Operations: lokus.fs.* methods
  • Plugin Lifecycle: LokusPlugin interface
  • UI Components: lokus.ui.* methods
  • Event System: lokus.events.* methods

Essential Shortcuts

ActionMacWindows/Linux
Command Palette⌘KCtrl+K
Save File⌘SCtrl+S
New File⌘NCtrl+N
Find in File⌘FCtrl+F
Toggle Sidebar⌘\Ctrl+\

Documentation Organization

By User Type

  • End Users: Feature documentation and usage guides
  • Power Users: Advanced features and customization options
  • Developers: APIs, plugins, and technical implementation
  • Contributors: Development setup and contribution guidelines

By Feature Category

  • Core Editing: Editor, formatting, and content features
  • File Management: Workspace, files, and organization
  • Productivity: Templates, shortcuts, and automation
  • Knowledge Management: Links, graphs, and connections
  • Visual Tools: Canvas, diagrams, and visual content
  • Customization: Themes, plugins, and personalization

By Technical Area

  • Frontend: React components, UI, and user interactions
  • Backend: Rust implementation, file system, and native APIs
  • Plugin System: Plugin architecture, APIs, and development
  • Build System: Development setup, testing, and deployment

Using the Reference

Finding Information

  1. Browse by Category: Use the navigation to explore feature areas
  2. Search: Use the search function to find specific topics
  3. Cross-References: Follow links between related features
  4. Examples: Look for code examples and usage patterns

Reference Conventions

  • API Methods: lokus.api.method() format
  • Keyboard Shortcuts: Platform-specific notation
  • Code Examples: TypeScript/JavaScript with full context
  • Version Information: Feature availability by version

Code Examples

All code examples include:

  • Full Context: Complete, runnable examples
  • Error Handling: Proper error management
  • Type Information: TypeScript type annotations
  • Best Practices: Recommended usage patterns

Version Information

Current Version Features

All features in this reference are available in the current version unless otherwise noted.

Feature Maturity

  • Stable: Fully implemented and tested
  • Beta: Implemented but may have minor issues
  • Alpha: Early implementation, may change
  • Planned: Documented for future implementation

Compatibility

  • Desktop: All features available on desktop versions
  • Plugins: Plugin-specific features require plugin installation
  • Platform: Some features may have platform-specific behavior

Contributing to Reference

Improving Documentation

  • Corrections: Submit issues for incorrect information
  • Additions: Suggest missing documentation areas
  • Examples: Contribute better code examples
  • Clarity: Help improve explanations and organization

Technical Accuracy

  • API Changes: Update documentation for API modifications
  • Feature Updates: Keep feature docs current with implementation
  • Testing: Verify all examples work correctly
  • Screenshots: Provide updated screenshots when UI changes

Support

Getting Help with Reference

  • Documentation Issues: Report problems with the documentation
  • Missing Information: Request documentation for undocumented features
  • Technical Questions: Ask about specific implementation details
  • Usage Examples: Request additional examples for complex features

Feedback

We value your feedback on the reference documentation:

  • Usefulness: Is the information helpful for your needs?
  • Completeness: Are there gaps in coverage?
  • Clarity: Is the information clear and well-organized?
  • Examples: Are there enough practical examples?

The reference documentation is designed to be your complete resource for everything Lokus can do. Whether you're looking up a specific API method or exploring all features in a category, you'll find comprehensive, accurate information here.