Child pages
  • Using the Solution Explorer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Users can perform many of these functions by right-clicking on a node in the Solution Explorer to access the context menu. When applicable, users can open items listed in the Solution Explorer in their default editors by double-clicking on the item. The following sections describe the different actions available via the context menus, followed by a brief discussion on using the contextual list found at the bottom of the Solution Explorer.

Info

Note: Many of the nodes contain the following shared items in the context menu:

  • Solution Explorer navigation items (same as found in the Solution Explorer toolbar)
  • Team sharing items (further discussed in the Team Providers section).
  • Compare with (allows comparison of two files)
  • Restore from Local History

The latter two items are addressed in the Script Editor chapter

The rest of this chapter lists the functions available when using the Solution Explorer, namely:

Stoc

Managing Resource Projects

The Solution Explorer allows quick access to the resource project assigned to a solution. The default top node, Resources, is the default Servoy Resource Project that accompanies each solution. The context menu can be used to:

  • Add/remove the resource 'nature' to the project; that is, removing the resource project loses its status as a Servoy Resource Project (see Overview of Servoy Developer Concepts ).
  • Add/remove the project 'nature' to the resource project.
  • Synchronize the Resource Projects with the database.

More importantly, the Resources node allows users to manage the following key items for the project.

...

Connecting To/Adding Database Servers

In this the Database Servers node, the context menu allows users to connect to an existing database server or create a new database server that the solution can access.

...

Managing Styles

The context menu on the Styles node allows users to quickly create a new Style style using a wizard. A CSS stylesheet with predefined categories will open in a text editor window.

Info

Note: When the Styles node is selected, the bottom contextual list shows a list of all styles available in the project. Double-clicking a selected style will open it in a text editor. 

...

Users and groups can be edited either by double-clicking on the node User and group secutiry or accessing Edit users/groups from the its context menu.

Managing i18n

The i18n node context menu allows you to edit i18n messages and if needed, define/create a database table for i18n. It also allows you to create from and write to the assigned i18n database. For more information on i18n, please visit see the i18n documentation.

Activating Solutions

...

The icons beside each solution on the expanded All Solutions node can be either green or gray. Green items represent active solutions and modules.

When users select a particular solution from the expanded All Solutions tree, the context menu allows users to activate the selected solution (if not already active). Only one solution can be active at a time.

On individual items within the All Solutions list, the context menu also allows users to

...

The context menu on the currently active solution node allows some of the same functions available in the All solutions menu, with the following additions:

  • Open in Script Editor - opens the solution's globals.js file in Script editor
  • Create new Form - adds a new form to the active solution
  • Replace server - copies the local version of the solution to the server.
  • Replace table - copies a locally edited solution table to the server.
  • Run unit tests
  • Export Solution
  • Externalize to i18n

...

Using the Solution Explorer Contextual List

The lower portion of Solution Explorer shows contents of items selected in the tree view. Most often, it is used to view lists of code resources (methods, functions, variables, and relations) and in addition, media. Users can hover over an item in the contextual list to view additional information, if available. Users can also move code from the list into an open script editor (see the Script Editor chapter for details).