It's not much of a work around, but if you use Version Control->Compare workspace with git before doing commits etc, you will see the files that show up with a '?' icon that means Git does not know what they are, and you can then select them and add them (the ? is small, but you will be able to tell it from a modified file, and files that are not in "some sort of status" will not show up). We use this tool a lot - and because the repository is local in git it comes up really fast.
Then I must be doing something wrong since they don't show up when I do this on my system:After I've manually added a file (like main.cpp) to version control from
Tools -> Version Control (Git) -> add main.cpp They show up correctly when I select "Compare workspace with Git" but not before I added them.
For example, at the moment I have A project called "Example 4.15" which has it's main.cpp added to Git (and it's modified) so it shows a red dot at the top left and a green plus at the bottom right of the icon (I think) but there is no mentioning of a directory "Example 4.16" or any file contained in that folder.
Maybe I first need to add 1 file to Git so that it's aware of the directory ?
Or (now that I think of it), maybe it's because I have a .gitignore file that contains the following:
# Created by https://www.toptal.com/developers/gitignore/api/slickedit
# Edit at https://www.toptal.com/developers/gitignore?templates=slickedit
### SlickEdit ###
# SlickEdit workspace and project files are ignored by default because
# typically they are considered to be developer-specific and not part of a
# project.
*.vpw
*.vpj
# SlickEdit workspace history and tag files always contain user-specific
# data so they should not be stored in a repository.
*.vpwhistu
*.vpwhist
*.vtg
# End of https://www.toptal.com/developers/gitignore/api/slickedit
I use this .gitignore file because I've had problems in the past with conflicting workspace files.
I would basically edit a few projects on my desktop, push to git, do some other projects on my laptop, but because the workspace files are newer (because I forget to pull the repo before I start VSE, well actually I just autostart VSE on my laptop since that's basically all I use it for) there are issues with pushing, pulling and merging