Add files excluded/included project settings (#5)
developer opened 2 weeks ago

By default, plugin includes all files which IntelliJ considers as source code files. This works for most cases but for non-code projects this is more problematic. You can actually use IntelliJ project feature Mark directory as... but this is not very flexible. In some cases it might be more useful if a user could specify folders and files as included and excluded for the Grok Collection.

  • Trevor Flynn commented 1 week ago

    Just ran across this. I have a docs directory I would like to add, but it is just a folder of markdown files and not marked as a source folder.

    EDIT: It would be nice to view the existing file collections (all collections) in its own tool window, and perhaps have a context menu option on files from the normal project file tree view to upload into the collection.

  • developer commented 1 week ago

    Right now, there is a relatively simple way to do it. Right click on the folder in project pane and find option: Mark Directory As >. On my installation it is down as one of the last items on the drop down menu. Then you can mark the directory as Source Root and then it works. You can then, do the same on some subdirectories and mark them as excluded.

    This is what works for me, and I also have a "project" with just a bunch of markdown files. I had to organize them into directories before uploading to Grok Collection and it really works well.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignees
Issue Votes (0)
Watchers (2)
Reference
Intellego#5
Please wait...
Page is in error, reload to recover