This content has been marked as final. Show 8 replies
You can although it's not as simple. Not sure how I over looked this one.
Edit sqldeveloper.conf and add this:
Just out of curiosity is this also possible with SQL Editor Code Templates in the Early Adopter series?
no, I didnt hook it up, but we should.
How can I specify a full path on Windows if the path separator is a colon?
For example, I can specify
Can I escape the colon that is part of the drive letter?
I just tried it out. You can backslash the colon in the drive letter and it works.
In the next release, code templates will be saved as a separate XML file similar to Snippets. It would also support multiple template files using paths contributed through VM argument: -Draptor.user.codeTemplates=c:/sharedTemplate.xml
This should support sharing of code templates.
I'm using SQLDeveloper 126.96.36.199 and this works to get the snippets into my view, but editing/adding new ones goes directly to the UserSnippets.xml file.
It looks like you're merging the contents of the multiple snippets files, based on the group category value. That makes perfect sense, but it then loses context for which file it came from.
I don't really have a better answer, just thinking out loud here. It would be nice to maintain snippets related to a project our subversion repo along with everything else.
Do you have any thoughts on how this might be done in the future?
The only real thoughts I had on this was more along publishing to a website. Instead of pointing to a file you could point to http:///xxxxxx/mysnippets.xml . That should work today. I hadn't thought too much on doing this all on local file but something like a manage the files could make sense or when you add a snippet ask what file to save it to.
If you log it to the exchange, we'll see what others think about it and if something comes out of it.