Commit graph

1563 commits

Author SHA1 Message Date
Tad Hardesty
3442bafb1a Correct [gvar] to [/var/gvar] 2020-09-21 21:45:35 -07:00
Tad Hardesty
40aacd9a87 Distinguish nonexistent and undocumented crosslinks 2020-09-21 21:17:18 -07:00
Tad Hardesty
e4decd00a4 Add crosslink warning for undocumented macros 2020-09-21 20:54:37 -07:00
Tad Hardesty
07de276349 Attempt to correct /ty/procname to /ty/proc/procname in crosslinks 2020-09-21 18:12:36 -07:00
Tad Hardesty
7581ba704e Show on which docs a bad crosslink occurs 2020-09-21 17:44:01 -07:00
Tad Hardesty
cd9dccad8d Implement StepOut 2020-09-20 22:12:55 -07:00
Tad Hardesty
027089c130 Remove AST-walking local var name detection 2020-09-20 12:59:31 -07:00
Tad Hardesty
f91358cc64 Use extools-provided local and param names 2020-09-20 12:54:01 -07:00
Tad Hardesty
e064dff029 Include :1 column only on the top of the stack trace 2020-09-20 12:53:07 -07:00
Tad Hardesty
e4c0d84c6f Format proc offsets in disassembly as hex 2020-09-20 11:50:15 -07:00
Tad Hardesty
f1def794d0 Add document links for 'resource' expressions 2020-09-19 18:12:28 -07:00
Tad Hardesty
3a17944a66 Add document links for #include lines 2020-09-19 17:59:33 -07:00
Tad Hardesty
3930cfcffe Update lsp-types dependency to v0.80.0 2020-09-16 20:18:58 -07:00
Tad Hardesty
3d76bc5ed2 Run cargo update 2020-09-16 20:09:54 -07:00
Tad Hardesty
6a3c6860c7 Add debug disassembly output if a breakpoint fails to set 2020-09-16 20:02:13 -07:00
Tad Hardesty
3c9be17701 Fix errors if /client/parent_type is left at the default 2020-09-15 19:51:19 -07:00
Tad Hardesty
a6466dfb35 Fix mishandling of /mutable_appearance/parent_type 2020-09-15 16:40:38 -07:00
Tad Hardesty
159643e230 Use a proc macro to parse the builtins table DSL
Avoiding the loop/break construct saves about 46K of compiled code size.
2020-09-14 20:19:37 -07:00
Tad Hardesty
fa92f24524 Set builtin vars to Constants rather than Expressions 2020-09-14 18:34:33 -07:00
Tad Hardesty
dfa7a1b25e Move common icon rect logic into dreammaker crate 2020-09-13 19:17:07 -07:00
Tad Hardesty
df2a9552cc Move common state index logic into dreammaker crate 2020-09-13 19:15:21 -07:00
Tad Hardesty
3477a6d95d Move some triplicate logic into Metadata::from_file 2020-09-13 18:59:15 -07:00
Tad Hardesty
aef7fbbebf Work around lodepng making breaking changes in 3.1.0 2020-09-13 18:31:42 -07:00
Tad Hardesty
79efc3a278 Add lint for line comments ending in backslashes 2020-09-13 09:59:15 -07:00
Tad Hardesty
d0ca40b6fc Add relics to random render pass 2020-09-12 15:37:37 -07:00
Tad Hardesty
7bdf77e221 Update unary atmos icons for existence of layer 4 2020-09-12 15:27:49 -07:00
Tad Hardesty
4e1f385d0d Update renderer for /tg/ icon smooth refactor 2020-09-12 15:13:56 -07:00
Kyle Spier-Swenson
b7390e2dbb
Remove error if a proc has both should_not_sleep and set waitfor = 0 (#211)
See this thread for why the logic is invalid:
https://github.com/tgstation/tgstation/pull/53553#discussion_r485090104
2020-09-08 18:46:43 -07:00
Tad Hardesty
7813cfac1e Exclude parent calls from references list 2020-09-07 10:57:01 -07:00
Tad Hardesty
cf3fac7ee0 Make type definitions count as an implementation rather than a reference 2020-09-07 10:56:26 -07:00
Bobbahbrown
985da485e2
Add documentation to hovers, add hovers for var uses and proc calls (#210)
- Added hover handling for ScopedVar, UnscopedVar, ScopedProc, 
  UnscopedProc
- Improved handling of existing hovers, adding dm lang blocks to the 
  hovers where appropriate
- Added documentation to all existing hovers when it is available
- Fixed bug with annotating Variables, which would lead to excessive 
  whitespace being consumed
2020-09-05 21:57:51 -07:00
Tad Hardesty
6bef4545f4 Compensate for VSC wanting unique variable names 2020-09-05 21:33:24 -07:00
Tad Hardesty
e809989d3d Rearrange variable sections so Locals is open by default instead of Globals 2020-09-05 21:13:07 -07:00
Tad Hardesty
d6cb8ee219 Add lint for attempting to iterate over /datum/foo 2020-09-05 14:16:26 -07:00
Tad Hardesty
95aba44287 Represent that list() returns /list instances 2020-09-05 14:12:20 -07:00
Tad Hardesty
745846e642 Derive a static type for 'list - value' expressions 2020-09-05 14:11:54 -07:00
Tad Hardesty
6a79662184 Show readmes at the level of their parent in the tree 2020-08-30 20:47:56 -07:00
Tad Hardesty
a2437fc98c Strip \proper and \improper prefixes from names 2020-08-29 22:43:54 -07:00
Tad Hardesty
ab35bd188d Replace dmdoc --modules with autodetection and --index
Instead of supporting only one .md search directory, and always taking
that directory's README.md as the index if it exists, now any top-level
directory (_maps, code, interface, &c.) which has any files included in
the .dme is searched and the --index argument can be used to manually
specify which .md file will be used as the index.
2020-08-29 22:33:26 -07:00
Tad Hardesty
93f5d3bbd9 Add helper for treating .txt files like Markdown 2020-08-29 22:22:10 -07:00
Tad Hardesty
42e912e7d6 Include .txt files within code directory as docs 2020-08-29 21:47:48 -07:00
Neerti
235ae7165a
Add missing filter flags for the outline filter (#206)
Fixes #205.

Tried to fix the issue I found last night in the same way that #165 
added other filter flags, but that PR seemed to have forgotten to add 
the two outline flags.

I tested this locally and the error doesn't come up now so it does work.
2020-08-14 20:00:58 -07:00
Tad Hardesty
ac037752c9 Bump versions for suite 1.5 2020-07-11 14:06:42 -07:00
Tad Hardesty
47f087473c Bump claimed DM version to 513.1527 2020-07-11 14:04:08 -07:00
Tad Hardesty
af3ea8539c Fix false positive diagnostic on PureProc().Foo() calls
Fixes #188.
2020-07-11 13:32:43 -07:00
Tad Hardesty
2ee51dc0c3 Upgrade to lsp-types v0.75.0 2020-07-11 13:01:03 -07:00
Tad Hardesty
7f34f0c965 Upgrade to ordered-float v2.0.0 2020-07-11 12:51:17 -07:00
Tad Hardesty
ced3f42620 Upgrade to lodepng v3.0 2020-07-11 12:49:53 -07:00
Tad Hardesty
ccd6f9cae2 Run cargo update 2020-07-11 12:24:54 -07:00
Tad Hardesty
00c82e6346 Add the word 'on' to var/proc completion details 2020-07-03 17:38:09 -07:00