Android Code Snippet Generic Code Snippet Manager

Cableguy

Expert
Licensed User
Longtime User
Apologies to everyone - I have been in hospital for the last 2 days, and I'm still not better. I'm still here and it hasn't been forgotten.
Very sorry to hear that. Hope it's nothing g too serious and that you get better really soon. Remember the everything in life is a side project... the real challenge is to live.
 

schemer

Active Member
Licensed User
Longtime User
Apologies to everyone - I have been in hospital for the last 2 days, and I'm still not better. I'm still here and it hasn't been forgotten.

Hope you get feeling better and its nothing serious.
schemer
 

Troberg

Well-Known Member
Licensed User
Longtime User
What, you didn't bring a laptop to the hospital?!?!?

Jokes aside, get well soon, no hurry with the snippet manager.
 

Vader

Well-Known Member
Licensed User
Longtime User
Ok, so you will need .net framework 4.02 at least, so because of the confusion that will cause, I'm thinking about making .net 4.5 the prerequisite.
 
Last edited:

manhof

Member
Licensed User
Longtime User
Where can I find the CodeSnippet in the object browser ?
Who can i insert a own Code?
 

Vader

Well-Known Member
Licensed User
Longtime User
Each code snippet will be stored as per the following example...

This will make it comply 100% with ActiPro code snippets (Note @Erel) as well as Visual Studio snippets.

<?xmlversion="1.0"encoding="utf-8"?>
<CodeSnippetsxmlns="http://schemas.microsoft.com/VisualStudio/CodeSnippet">
<CodeSnippetFormat="1.0.0">
<!-- The header contains information describing the snippet. -->
<Header>

<!-- The Title of the snippet, this will be shown in the snippets manager. -->
<Title>Insert Notifying Property</Title>

<!-- The description of the snippet. -->
<Description>Inserts an Apex Notifying Property.</Description>

<!-- The author of the snippet. -->
<Author>Dave Kerr</Author>

<!-- The set of characters that must be keyed in to insert the snippet. -->
<Shortcut>apexnp</Shortcut>

<!-- A URL for more help. -->
<HelpUrl>http://apex.codeplex.com</HelpUrl>

<!-- The set of snippet types we're dealing with - either Expansion or -->
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>

<!-- Now we have the snippet itself. -->
<Snippet>

<!-- Sepecify the code language and the actual snippet content. -->
<CodeLanguage="CSharp"Kind="any">
<![CDATA[
// My first snippet!

]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
 

Vader

Well-Known Member
Licensed User
Longtime User
^^^ Wow that formatting was badly stripped by the Forum software, and isn't really representative of the actual format.
 

Vader

Well-Known Member
Licensed User
Longtime User
So, I am stuck trying to work out what format the local database should be. .Net Framework 4.02 is too hard to check for (for the end-user), and use of something like an Access Database (*.accdb) is not possible without distributing Microsoft files (that require licensing, as well as a separate install), so I'm still thinking it through...
 

Vader

Well-Known Member
Licensed User
Longtime User
Not bad, but it doesn't look like an embedded database. I could be wrong, I didn't look too deeply.
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
Have you considered LibreOffice? It is a free equivalent to Microsoft Office, slightly less polished but very good and gaining in popularity. It also has a database program called Base which I believe uses an open format... https://www.libreoffice.org/discover/base/
 

Vader

Well-Known Member
Licensed User
Longtime User
I don't think that you understand the requirement. I do not want the end-user to install anything other than my one setup. However, thanks very much for your input.

It looks like I have settled on SQLLite.
 

dennis w haupt

New Member
Licensed User
I'm sorry but I'm having the ssame problem

""""Where can I find the CodeSnippet in the object browser ?"""""

I have done everything
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…