C0D312 wrote:Hi John. ..
But I'll try to answer your questions specifically ...
1. The user file always takes precedence over the default folders.
That is not my present experience. At present, my user file are not taking precedence over the default folders. I think they need to.
You could potentially delete all the snippet files in the default folders but I don't see the point. I'm assuming you're primarily a web designer/developer since your questions are HTML based. Could I ask what results you're getting that you don't want?.
I gave you an example for the <br> tag, which I want to change to <br />, the closing slash is now the preferred syntax in HTML. Although I know no python it is easy enough to edit the completions file to achieve that result. However, so far, I have only achieved it by editing the HTML default file. I have tried copying that same file into the user folder, but edits to that file have no effect. The outcome I want is that this simple completion, and all other completions, are controlled by me, the user, by editing files that are under my control.
I had read that but I do not see how it places the user in control of what is entered into a file that he or she is developing, and that must be the final outcome.
1. In my hands, single file snippets in the user folder do seem to take priority when accessed through the menu, though not via their trigger.
2. I do not know what is meant by "- API-injected completions" but it sounds like something the user is not in control of. If so, I might see it as undesirable.
3. Right now the cache might be a nuisance. I have several times found that the system's behaviour is changed by restarting the program. For development purposes, it might be worth switching the cache off and turning it on again when the first stable release appears.
4. Whether words should be drawn from a buffer is a matter of where they come from originally. The idea of drawing words from elsewhere in an open file, or other open files, or files in a project, seems good but I think it is the user's actions that should be defining those choices, not decisions made by the programmer.
There is quite a long list of sources for these completions and, at the moment, my sense is that the user is being outvoted by the program, which should not be happening. That would be the point of turning some of these things off by default and getting the user to choose which completion syntax to make active.
I've look at that stuff but, at present, I don't understand it. I still think it may be my problem.
4. Yes. Sublime-completion files are essentially a collection of snippets.
Let me know if that didn't answer all your questions. I'll be willing to go into more detail if you'd like.
Yes, that's how it seemed to me. My problem is how to get it to actually work.