#9 Off-the-shelf cookie sessions


Hi, ufo-pu55y.
Thanks for the plugin.
N++ almost turns into IDE for my custom language. I'm trying to tune SourceCookifier + 'Open File In Solution' plugin for multiproject and multibranching environment. I use special cmd scripts to start N++ targeted to project's branch and faced the problems:
1) the .c00k!e (ugly extension, IMHO) contains binary data. It's hard to read and modify with external tools.
2) the .c00k!e contains absolute paths for the files. A project can be downloaded in custom user folder so the .c00k!e becomes unactual.
3) Cookie session works with individual files, but it will be more useful if it works with folders. For instance, new file created in subfolder will be automatically parsed.

Thanks in advance.


  • UFO

    UFO - 2011-12-06

    1) It's binary since it's .NET serialized data. Rewriting everything just to make it readable would be overkill for me at the moment.
    2) Although I like the idea I'm still having doubts that the advantages of this approach wouldn't raise more disadvantages/problems. I'll keep it on my todo list nevertheless!
    3) I'm still waiting for stable & useful implementations of N++'s new project handling. I hope I can tie it somehow with SourceCookifier to manage files and folders.

  • UFO

    UFO - 2011-12-12

    2) The upcoming version includes an option to use relative paths in the session files (+ an option to define the session file extension)