Why tiddlywiki.info not tiddlywiki.json

Is there any particular benefit to using .info as the file extension?

1 Like

I belive its historical, similar to other node solutions and perhaps a little safer if someone exported a json file and named it tiddlywiki.json

Is there any particular benefit to using .info as the file extension?

Back when I was starting TW5 in 2011/12, it was an attempt to convey the semantics of the file. Modern tooling doesn’t really like it (eg VSCode complains every time you click on a tiddlywiki.info file), and so I think now I would stick with the json extension.

3 Likes

In VSCode you can set a relation between .info and json

The easiest way:

  • Go to File > Preferences > Settings.
  • Search “File associations”
  • Click on “Add Item”
  • Add your extension (*. ext) and the preferred language.

There are probably some other TW related settings already. eg. .tid … So you can change them too if you want.

There is a VSCode plugin, which works TiddlyWiki5 Syntax and is associated with .tid …

Now I use tiddlywiki.json5 as the configuration file, just want to add some friendly comments, and finally generate a new info file

1 Like

Here is the related issue [IDEA] Configuration files support multiple file extensions · Issue #7713 · Jermolene/TiddlyWiki5 · GitHub