forked from kuyawa/CodeEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ToDo.txt
112 lines (93 loc) · 3.25 KB
/
ToDo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
TODO:
- enable more editor commands
- tab: indent block
- shf+tab unindent block
- toggling file panel leaves a vertical line visible that disappear on a small resize
- on multiline patterns, extend range to prev/next caret ie /* */
- on load if empty last file, start with blank file
- verify new empty file does not crash the app
- verify syntax file does not crash the app if malformed
------------------------------------------------------------
x allow to delete files
x Lite buttons for dark theme
x find better icons just like xcode, thinner, cooler
x allow to open files, use folder as root
x enable editable tree to rename files
x on load, show last file in tree, expanding folders if needed
x allow to open file from OS, use App.delegate
x on opening file from OS, set working folder to file's parent
x rethink syntax naming to have both themes in one file
x use styles-dark instead of loading a different scheme
x use syntax files from app folder, if not found use from bundle
x add black/white icon for dark/light theme selection
x move line/block up on cmd+up
x move line/block dn on cmd+dn
x dark theme
x extract syntax files from bundle on firstTime
x show/hide filer panel, add "show file panel" to main menu
x create syntax templates for yaml, js and json
x toolbar: project, new, open, save
x order files folders first
x save on editor lost focus, at all times
x load defaults from settings.yaml
x duplicate line/block
x delete line
x on syntax.format("swift") assign template
x open project (working folder)
x work on toolbar: new, open, save
x scan dir, show all dirs, all files, save as default
x on file select, if folder do nothing, if file editable show in text field
x on load: get working folder from userDefaults
x save last selected file in userDefaults
x if file in userDefaults, select on load
x save last window position, if maximized restart maximized
x load only first node and children, load other children on expand
x keep working folder in fileController as root or selected
x add NewFile1.{ext} to working folder, if exists autoincrement
x keep newfile counter in fileController
x remove tabs, use single window interface
x work on tabs for docs: name, close
x appicon Macaw
x edit Readme.md
------------------------------------------------------------
SAMPLE PROJECT TO TEST SYNTAXES:
source
main.swift
index.swift
forums.swift
utils.swift
views
index.html
data.xml
public
logo.png
script.js
theme.css
info.plist
todo.txt
readme.md
------------------------------------------------------------
EDITOR COMMANDS:
N x new file
O x open file
B open in browser
S x save file
R build and run
F x find and replace
tab if block selected, indent/unindent, else default
D x duplicate line/block
L x delete line/block
del x delete to end of line
bck x delete to begin of line
up x move line/block up
dn x move line/block dn
U toggle selected case upper/lower/camel
------------------------------------------------------------
VERSION 2:
- enable console
- build: call swift build, show progress in output area
- on errors show errors and allow user to jump to files and lines
- show images in image viewer
- show pdf in pdf viewer
- research quick view functionality
END.