Skip to content

chore: add generation function and header function for main file#43

Open
vinnyy-afk wants to merge 8 commits intodevelopfrom
feat/vscode-builtins-generator
Open

chore: add generation function and header function for main file#43
vinnyy-afk wants to merge 8 commits intodevelopfrom
feat/vscode-builtins-generator

Conversation

@vinnyy-afk
Copy link
Collaborator

No description provided.

@@ -1,4 +1,16 @@

#### PROJECT HEADER BLOC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a "PROJECT HEADER BLOC"

you might only keep HEADER BLOC


_truefile="$(echo $_truefile | sed "s|^ ||g" | sed "s|$Tools4Dev_PATH/||g" | sed "s/ /|/g" | sed "s|/_main_.env||g")"

local _index="$(cat $Tools4Dev_PATH/.Ressources/index/private.index $Tools4Dev_PATH/.Ressources/index/public.index \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think it's a good habit to use \ inside $( ) statements


local _mainFiles="$(cat $Tools4Dev_PATH/.Ressources/index/private.index | cut -d ':' -f1 | rev | cut -d "/" -f 2- | rev | uniq | grep -v "^#")"
local _truefile=""
local _FileJson="$Tools4Dev_PATH/Utils/T4D-Plugin-VSCode/snippets/builtinst4d.json"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please structure your folder with a better architecture than "EverythingInThatBag" or el famoso "AllinOneFile" :)

you may want to cut by file or Type Like Engine/Source/ etc.

fi
done

_truefile="$(echo $_truefile | sed "s|^ ||g" | sed "s|$Tools4Dev_PATH/||g" | sed "s/ /|/g" | sed "s|/_main_.env||g")"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need to | sed "s/ /|/g" ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants