Noah Santschi-Cooney
80c40fc427
-w- comments enum
2018-07-11 00:30:50 +01:00
Noah Santschi-Cooney
8bf9b17efc
SHE WORKS!!!!11!1! A glorious day indeed. Now all thats left to do is to do a big cleanup of the codebase and have proper error and comment handling.
...
Info about current commit:
1) Reason the wrong outro parent file was added was due to the change at (now) line 82. Self explanatory.
2) Using maps now for diagnostics as well instead of indexable types.
3) Fixed the ternary operator. Forgot that '0' is truthy..
4) using readFileSync to load files that arent loaded into documents.
TODO: The todos listed in the code as well as file caching
2018-07-10 01:22:18 +01:00
Noah Santschi-Cooney
5f125d710d
Lot of debugging lines in here atm. Merging of recursive includes seems to work for the most part except the parent file is coming out wrong
2018-07-09 00:26:18 +01:00
Noah Santschi-Cooney
83d444cd21
Small changes to readme
2018-07-05 00:09:01 +01:00
Noah Santschi-Cooney
af0fbb674c
Hopefully the last time i work the logo : )
2018-07-04 01:27:43 +01:00
Noah Santschi-Cooney
7cc594f710
Worked up the logo a bit
2018-07-04 01:17:11 +01:00
Noah Santschi-Cooney
e3353e5b79
made logo smaller
2018-07-04 01:05:59 +01:00
Noah Santschi-Cooney
a3d1cd0a0e
Start of proper line numbers for includes
2018-07-04 00:59:18 +01:00
Noah Santschi-Cooney
dbad626af9
Using Map objects instead of indexable types
2018-07-04 00:16:22 +01:00
Noah Santschi-Cooney
34e6d14ec9
God i love JS/TS sometimes, being able to make functions so short
2018-07-03 12:48:44 +01:00
Noah Santschi-Cooney
d7a5adb668
Recursive includes works 90%!!!!! Wrong line numbers are given because its basing the line numbers off the root file
2018-07-02 18:56:17 +01:00
Noah Santschi-Cooney
d2e58f475d
Fixed server crashing if glslangValidator wasnt found
2018-06-29 19:31:56 +01:00
Noah Santschi-Cooney
f93c26a59d
Some TODOs
2018-06-24 20:54:14 +01:00
Noah Santschi-Cooney
17d84bad6b
And thus stage 1 of includes is complete. One-depth includes work!
2018-06-24 19:14:35 +01:00
Noah Santschi-Cooney
481addd033
Testing on 7.9, what vscode actually uses
2018-06-24 02:10:11 +01:00
Noah Santschi-Cooney
ffe38b2209
Amazing typo right there
2018-06-24 02:05:47 +01:00
Noah Santschi-Cooney
d88ae5f1c1
Is ci not in alpine?
2018-06-24 02:04:54 +01:00
Noah Santschi-Cooney
b48b6314e6
How much faster is npm ci vs npm i
2018-06-24 02:03:16 +01:00
Noah Santschi-Cooney
00c4cc487a
OWO whats this? Includes kinda work? Thats right. Except *sometimes* it causes the entire extension to hang for some reason
2018-06-24 01:18:03 +01:00
Noah Santschi-Cooney
daa9978eaf
codeclimate config
2018-06-21 13:19:46 +01:00
Noah Santschi-Cooney
767b483283
Added logo to readme
2018-06-21 13:09:15 +01:00
Noah Santschi-Cooney
f4f2b9bf3e
Deriving includes path appears to be working OK. Optimized the includes regex by a factor of ~3 and made it work for relative paths too
2018-06-19 20:36:41 +01:00
Noah Santschi-Cooney
5d53c2020a
Did something to do with includes and a stack i guess
2018-06-17 22:40:48 +01:00
Noah Santschi-Cooney
7dd1699dbe
Much more optimized error regex
2018-06-17 18:08:28 +01:00
Noah Santschi-Cooney
960597e324
Collecting includes, getting shader type from extension:
2018-06-16 19:55:57 +01:00
Noah Santschi-Cooney
7259283c6e
Fixed single line comments breaking the whole thing
2018-06-16 01:09:01 +01:00
Noah Santschi-Cooney
d8e374496b
back to the shorter var name
2018-06-15 23:01:09 +01:00
Noah Santschi-Cooney
ef643d8cdb
Proper errors if glslangValidator isnt found, woop
2018-06-15 22:59:59 +01:00
Noah Santschi-Cooney
44ee663d06
Shows error if glslangValidator not found. Also made script to download it
2018-06-15 18:40:01 +01:00
Noah Santschi-Cooney
67e9c991a4
Linting on save instead. Added a basic preprocess beginning, adding in the extension. Not complete
2018-06-14 01:29:11 +01:00
Noah Santschi-Cooney
245471a5a2
Fixed tslint missing
2018-06-13 20:59:28 +01:00
Noah Santschi-Cooney
fcab989bb7
Removed single use function and the if check in preprocess
2018-06-13 01:09:59 +01:00
Noah Santschi-Cooney
8c3f0e3e2c
Got tasks and launch setup all gucci, and the error squiggle goes to the end ofthe line now 👌
2018-06-12 23:49:52 +01:00
Noah Santschi-Cooney
fef2130bb9
omg debugging n all the shit that SHOULDVE worked are now FIXED
2018-06-12 22:46:41 +01:00
Noah Santschi-Cooney
91e2718cde
Slightly nicer error messages by replacing THIS with... _this_
2018-06-10 23:40:58 +01:00
Noah Santschi-Cooney
87759b4b2d
REJOICE FOR LINTING WORKS. Just no includes support yet
2018-06-10 21:35:23 +01:00
Noah Santschi-Cooney
7775b75411
Config should be complete. Added 'shaderpacks' to end of mc path, passing correct object now too
2018-06-06 22:47:08 +01:00
Noah Santschi-Cooney
513606542e
Removed placeholder validation function
2018-06-04 21:39:59 +01:00
Noah Santschi-Cooney
a4efc94d44
Merge pull request #4 from Strum355/lsp
...
Change from extension to LSP method
2018-06-04 20:54:35 +01:00
Noah Santschi-Cooney
a65a6c1bb3
Some basic completion provider. Need to go through all the options and tweak them
2018-06-04 20:25:57 +01:00
Noah Santschi-Cooney
63151eaa76
Added config to server
2018-06-03 15:25:03 +01:00
Noah Santschi-Cooney
47634290aa
maybe not hard links either :(
2018-06-02 22:49:11 +01:00
Noah Santschi-Cooney
0863621186
Hard links instead of soft links perhaps?
2018-06-02 22:47:44 +01:00
Noah Santschi-Cooney
55f0eb4798
Unstaged files
2018-06-02 22:43:48 +01:00
Noah Santschi-Cooney
674c3cbb9b
turns out it was because i actually forgot to commit the rest. Nice. Have a load of default code
2018-06-02 22:42:36 +01:00
Noah Santschi-Cooney
4436ef11eb
Tryna figure out why this linter stopped working
2018-06-02 22:41:10 +01:00
Noah Santschi-Cooney
c1c68d15ff
Whoops got the name wrong
2018-06-02 22:34:21 +01:00
Noah Santschi-Cooney
b37e66eb81
Added lint script
2018-06-02 22:33:03 +01:00
Noah Santschi-Cooney
3db6964f7c
Changing to an LSP style model. Client extension is now small af
2018-06-02 21:04:53 +01:00
Noah Santschi-Cooney
cefd0e2e67
Gonna be using seperate regex for linux and windows for error parsing. Need to investigate errors not being thrown
2018-06-01 00:32:01 +01:00