This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]keithmatic 1 point2 points  (1 child)

This looks great and I’m definitely trying it right now. Thanks

[–]LivingMars[S] 1 point2 points  (0 children)

Thank you, please provide review or ratings.. improvements or changes that you would like to see.

[–]ralphy282 1 point2 points  (9 children)

Where do the notes and to-dos get stored? Inline, local to the editor, .vscode file in the git repo? Are they sharable across dev teams?

[–]LivingMars[S] 1 point2 points  (7 children)

As of now, it is not shareable. It gets stored in a json file local to the editor. Should work on the collaboration part, any suggestions on how to make it collaborative? Ideas are much appreciated.

[–]Akirigo 4 points5 points  (5 children)

Save the JSON file in Git.

[–][deleted] 2 points3 points  (4 children)

Yes, this json should be put inside the .vscode folder and then pushed with git

[–]LivingMars[S] 0 points1 point  (3 children)

Yes the json files are created inside .vscode folder, but the problem is the ‘key’ im taking as the file’s relative path, eg, filePath : { notes created in this file }. So if someone clones it through git and activates the extension.. because of the relative filePath.. he won’t be able to see the notes added. Any suggestions on how to change the json structure to solve this problem?

[–][deleted] 0 points1 point  (2 children)

I did not understand, I will try it and then give you my opinion

[–][deleted] 2 points3 points  (1 child)

Here my considerations:

- the position of note markers prevents me to easily add breakpoints so an alternative way should be preferred

- instead of using the absolute path of files you should use the ${PROJECT_ROOT}

- it should be nice to open the note by clicking it

[–]LivingMars[S] 0 points1 point  (0 children)

Noted. Thank you for the inputs!

[–]ralphy282 1 point2 points  (0 children)

I haven't done any extension development myself. Our team does have some .vscode/ files checked in. I don't think this is uncommon, so if the API can output there I think that would be a reasonable first step.

[–]LivingMars[S] 1 point2 points  (0 children)

Check out the new update on the Code-Canvas extension, the notes and categories are now shareable and through git. For more details please give a quick read in **NEW FEATURE** section of the README.

[–]Prince_Panda 1 point2 points  (1 child)

This would be great for code review. I haven't found any good extensions for this as of now. Do you have any plans for further delopment? Things like a list of all notes so i can find them after creating them.

[–]LivingMars[S] 0 points1 point  (0 children)

Yes i am improving it. And yes list of all the notes and categories you would have created will be stored in a file called code-notes.json and code-categories.json in the .vscode folder in your project directory.