Linked Questions

71 votes
3 answers

How to distribute Mathematica packages as paclets?

Mathematica does have a nice package manager. Packages are called paclets, and they can be managed using the functions from the PacletManager` context. How can I ...
Szabolcs's user avatar
  • 236k
53 votes
3 answers

Argument completions for user-defined functions

Mathematica 10 has introduced file name completion for the arguments of certain built-in functions, such as Import, SetDirectory,...
Szabolcs's user avatar
  • 236k
29 votes
1 answer

Prompt a set of possible options

Recent versions of Mathematica dynamically prompt a list of possible options. For example, when typing Plot[x, {x,0,1}, PlotStyle-> After typing the arrow, ...
Yi Wang's user avatar
  • 7,377
32 votes
1 answer

How can I install packages distributed as .paclet files?

I downloaded a Mathematica package. It came as a file with the .paclet extension. How can I install or uninstall it?
Szabolcs's user avatar
  • 236k
5 votes
3 answers

How does Needs["foo`"] find the file that defines context "foo`"?

The post's title says it all, but if more detail is needed: Suppose I have the following in some file /path/to/foo.m: ...
kjo's user avatar
  • 11.7k
21 votes
1 answer

How to Develop Paclets in Workbench Considering the Recent Changes in PacletInfo.wl Format and Supporting Functions?

WRI Technical Support [CASE:4868964] Preamble So far I am using Wolfram Workbench (i.e., a plugin to the Eclipse IDE) to develop packages collecting often used Wolfram Language functionality. For ...
gwr's user avatar
  • 13.5k
11 votes
2 answers

Show StyleSheets and Palettes from custom directory in Mathematica's Menu

I'm working on a package that needs to be installed into an arbitrary, "non standard" path (i.e., not $BaseDirectory or ...
bobknight's user avatar
  • 2,037
19 votes
1 answer

What are Package` context symbols for?

The Package` context contains the following: What is the use of these undocumented functions? I am looking for a concise description of the syntax and purpose of ...
Szabolcs's user avatar
  • 236k
13 votes
1 answer

Installing a Paclet from GitHub (or other non-paclet server site)

How can I install a package from GitHub as a paclet? Can such a process be formulated in general?
b3m2a1's user avatar
  • 47k
7 votes
1 answer

What is the purpose of the Kernel and Application extensions in PacletInfo.m?

Wolfram Workbench has a graphical editor for PacletInfo.m files. It is possible to add a "Kernel" extension with Symbols, ...
Szabolcs's user avatar
  • 236k
7 votes
1 answer

How to add frontend resources for using in package/paclets?

I have some thumbnails that I want to use inside my package, which need to be loaded with FEPrivate`FrontEndResource. AFAIK those assets have to be placed in .tr ...
M.R.'s user avatar
  • 31.6k
5 votes
1 answer

PacletBuild ignores "Path" extension and doesn't include local data files

I'm trying to build my first paclet which includes a .txt data file. As per documentation, I added {"Path"} to ...
Victor K.'s user avatar
  • 5,211
5 votes
0 answers

What are installed older versions of Paclets good for?

This question was triggered by Szabolcs excellent questions and answer here and here. One of the open questions is why the paclet manager obviously keeps older versions of paclets installed even ...
Albert Retey's user avatar
  • 23.6k
4 votes
1 answer

Disable "Load at Startup" checkbox in Add-Ons list

When a package comes with documentation, it will show up in the Installed Add-Ons list in the Documentation Center. This list can be accessed at ...
Szabolcs's user avatar
  • 236k
9 votes
0 answers

How to create multilingual documentation inside Wolfram Workbench?

I am relatively new to Mathematica package development. Currently I am trying to migrate a single .m file to a fully grown paclet for future maintainability and currently I am hitting a brick wall: ...
Kevin Groenke's user avatar