Commit graph

278 commits

Author SHA1 Message Date
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
Noah Santschi-Cooney
3b4ee25a86
Added new requirement to readme 2018-05-31 23:32:54 +01:00
Noah Santschi-Cooney
ab105f2e8e
Added minecraft path config option 2018-05-31 23:16:03 +01:00
Noah Santschi-Cooney
83f699f797
made command be obligatory for spawner. not sure why tbh 2018-05-31 23:12:45 +01:00
Noah Santschi-Cooney
ab0d4c977f
Added an async process spawner using promises 2018-05-31 23:09:39 +01:00
Noah Santschi-Cooney
558de42068
Some things removed due to moving to a binary moderne~ Lots of stuff need to be changed. Need to add preprocessor, and then handle this different data we get 2018-05-31 00:25:30 +01:00
Noah Santschi-Cooney
933c4b0007
updated package-lock.json 2018-05-30 01:28:04 +01:00
Noah Santschi-Cooney
87f76782c1
Removed file descriptor and include manager as we will hopefully be using shaderc/glslc from google which has support for includes 2018-05-29 23:37:45 +01:00
Noah Santschi-Cooney
9955958481
Merge branch 'master' of github.com:Strum355/vscode-mc-shader 2018-05-29 00:07:12 +01:00
Noah Santschi-Cooney
a27da8584f
Added IncludeManager, IncludeHolder and DescriptorHolder classes for dealing with merging files at include points and keeping track of files to not open files continuously [CI-SKIP] 2018-05-29 00:06:55 +01:00
Noah Santschi-Cooney
2775556cc7
Update README.md 2018-05-28 11:33:23 +01:00
Noah Santschi-Cooney
a75528c8d3
Update README.md 2018-05-28 11:30:47 +01:00
Noah Santschi-Cooney
ff35b62142
Fixed tslint issues 2018-05-28 00:55:17 +01:00
Noah Santschi-Cooney
2e88c004d2
Moved config to own file and made it a class. Added lintOnType config option to package.json and readme. 2018-05-28 00:49:55 +01:00
Noah Santschi-Cooney
18e321ccc8
Includes with relative path walking generate warning now 2018-05-27 22:57:44 +01:00
Noah Santschi-Cooney
9fd344d8f5
includes no longer give off syntax error unless there is a syntax error. Also ill never be happy with function names... 2018-05-27 20:02:01 +01:00
Noah Santschi-Cooney
891d2ebf5a
Using a lot more single line arrow functions, made linting on typing an option (untested), finding includes and extracing the paths, added more regex filters and other regex 2018-05-22 00:59:33 +01:00
Noah Santschi-Cooney
2721f58201
Error squiggles start from the first token rather than from the very edge 2018-05-20 21:46:05 +01:00