Skip to content

Adding a new Bundle using Lintalist

Lintalist edited this page Mar 11, 2015 · 3 revisions

There are two methods of adding a new Bundle to Lintalist.

  1. Create a new bundle in your text editor and copy that file to the \bundle\ folder and reload.
  2. Use Lintalist to create a bundle and start adding snippets.

This page will illustrate how to add a new Bundle using Lintalist. We'll create a bundle for the "Oracle SQL" program below.

Step 1

To add a new bundle (a collection of snippets) open the Lintalist search window and use the menu: Edit, New Bundle (or press F10).

Step 2

The Lintalist Bundle Editor will open on the second tab where you can enter the name, title match and other data.

The most important fields are Name and TitleMatch. The name is used in the Bundle menu and the TitleMatch will allow you to make a Bundle context sensitive which means the search, abbreviations and shortcuts will only be available in Windows which match the title you enter in the TitleMatch field.

In our example: you can see we've used "Oracle SQL" (sans quotes) as a TitleMatch.

Step 3

Before adding Snippets you must save the Bundle

Step 4

Give the new Bundle a name, you can omit the extension (.txt)

The file will be saved in \bundles\

Step 5

Now you can start adding Snippets. Open the Lintalist search window again and select the newly created Bundle:

Step 6

Once selected you will see a check mark appear before the Bundle name and also that the Bundle is locked:

Step 7

You can add a new Snippet via Edit, New Snippet (or press F7)

Add the text(s) to Part 1 & 2 and other information and click Save

Step 8

A message box will show the new snippet has been added:

You can simply continue to add new snippets if you wish. Once ready do not forget to unlock the bundle by ticking the Lock check box in the Lintalist search window.

Step 9

If you now open a Lintalist search in a Window with the title "Oracle SQL" (1) the Bundle will be automatically loaded (2 & 3)

You can search for snippets or use the shorthand or shortcut for the snippet you want to use.