Skip to content

Commit

Permalink
Merge pull request #5 from alexispurslane/corfu
Browse files Browse the repository at this point in the history
Corfu
  • Loading branch information
alexispurslane authored Jun 8, 2024
2 parents f96ab76 + 442c642 commit 5759ae8
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 406 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,36 @@ This version of the plugin requires Emacs 28.1 (the latest, currently) or later.
erroring out)
- Clearer specification of what something is in the imenu list of objects,
functions, modifications, etc.
- Updated code for modern Emacs Lisp
- **Significantly** updated code for modern Emacs Lisp/modern Emacs versions
- An in-editor build system that lets you compile the project the current file
belongs to, even if the project root is in a parent directory, with a single
key combination, and puts the output of the compiler in a split window where
you can click on errors to jump to them in your code.
- in-editor running in your interpreter of choice
- somewhat context-aware autocompletion generated from *all* of your project
files and the libraries listed in your *t3m* build file whenever you save a
- In-editor running in your interpreter of choice
- Somewhat context-aware autocompletion generated from *all* of your project
files and the libraries listed in your `t3m` build file whenever you save a
new modification!
- Crude jump-to-definition support with xrefs (it is very difficult to truly
figure out where something was defined in TADS 3 because of how dynamic it
is, but it works well for objects, classes, functions, just ends up being
more of an occurence check for methods, sub-objects, and properties)
- Completion using `completion-at-point-functions` instead of hard-coding a
company-mode backend
- Support for company-kinds (not limited to company mode), so you can have
icons in your completion popup if you like that sort of thing

## Roadmap

### To finish v1.4
- [x] Autocompletetion
- [x] Compilation, Error-checking and jump-to-error
- [x] Add source file to t3m
- [x] Running the game in editor and refreshing it on build
- [x] Jump to definition
- [ ] Running test scripts
- [ ] Spellcheck that knows how to deal with TADS text
- [ ] Word count that understands TADS text
- [ ] Strings viewer (the compiler can output all strings)
- [ ] Uploading the plugin to MELPA

### For 2.0

- [x] Autocompletetion
- [ ] Refactoring tools
- [ ] Documentation for thing at point

Expand All @@ -66,8 +71,7 @@ something nonsense later on.

## Dependencies

- Emacs 28.1 or newer
- company-mode
- Emacs 29.1 or newer
- the awk language (should come with your OS by default on macOS, BSD, and Linux)

## Installation
Expand All @@ -84,9 +88,6 @@ DOOM, etc.):
auto-mode-alist))
```

It's recommended that you also use a soft word wrap mode like `+word-wrap-mode`
with this plugin, since you'll be writing lots of long lines of text.

## Screenshots

![A screenshot showing syntax highlighting for methods, if statements, properties, and so on](./screenshot1.png)
Expand Down
Loading

0 comments on commit 5759ae8

Please sign in to comment.