Skip to content

Commit

Permalink
documenting how to associate languages, file extensions
Browse files Browse the repository at this point in the history
Signed-off-by: anaxceron <[email protected]>
  • Loading branch information
anaxceron committed Oct 2, 2023
1 parent 0540de6 commit 8a535f3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
10 changes: 10 additions & 0 deletions docs/getting-started/zowe_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,16 @@ Zowe Explorer V2 supports using Service Profiles, Base Profiles, and Team Profil

</details>

### Is it possible to change the detected language of a file or data set opened in Zowe Explorer?

<details className="zowe-faq">

<summary></summary>

Yes, you can configure Visual Studio Code to use a specific language for a particular file extension. To set file associations, see [Add a file extension to a language](https://code.visualstudio.com/docs/languages/overview#_add-a-file-extension-to-a-language).

</details>

### How can I use FTP as my back-end service for Zowe Explorer?

<details className="zowe-faq">
Expand Down
28 changes: 20 additions & 8 deletions docs/user-guide/ze-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,33 @@ Review this section to familiarize yourself with Zowe Explorer and make the best

## Usage Tips

Make the best use of the extension with the following tips:
Make the best use of Zowe Explorer with the following tips:

- **Data sets, USS, and jobs persistence settings:** You can store any data sets, USS files, or jobs permanently in the **Favorites** tab. Right-click on a data set, USS file, or job and click **Add Favorite**.
### Data sets, USS, and jobs persistence settings
You can store any data sets, USS files, or jobs permanently in the **Favorites** tab. Right-click on a data set, USS file, or job and click **Add Favorite**.

- **Identify syntax errors with a syntax highlighter:** Zowe Explorer supports a syntax hightlighter for data sets. To enhance the experience of using the extension, you can download an extension that highlights syntax.
### Identify syntax errors with a syntax highlighter
Zowe Explorer supports a syntax hightlighter for data sets. To enhance the experience of using the extension, you can download an extension that highlights syntax.

- **Edit a profile**: You can edit existing profiles listed in the **Side Bar** by clicking the profile's **Edit** icon (next to the **Search** icon). The feature lets you modify the information inside your profile.
### Change the detected language of a file or data set

- **Delete a profile**: In Zowe V1, you can permanently delete profiles by right-clicking the profile and selecting the **Delete Profile** option. The feature deletes the profile from your `.zowe` folder. In Zowe V2, right-click the profile, and select **Delete Profile** to open the configuration file and manually delete the profile.
If the language for a file or data set opened in Zowe Explorer is not detected correctly, configure Visual Studio Code to use a specific language for a particular file extension. To set file associations, see [Add a file extension to a language](https://code.visualstudio.com/docs/languages/overview#_add-a-file-extension-to-a-language).

**Tip:** Alternatively, you can delete a profile by using the VS Code **Command Palette**. Press `F1` on your keyboard, then select the **Zowe Explorer: Delete a Profile Permanently** option. In Zowe V1, you select the profile to delete. In Zowe V2, the configuration file opens for you to delete the profile manually.
### Edit a profile
You can edit existing profiles listed in the **Side Bar** by clicking the profile's **Edit** icon (next to the **Search** icon). The feature lets you modify the information inside your profile.

- **Hide a profile**: You can hide a profile from the **Side Bar** by right-clicking the profile and selecting the **Hide Profile** option. If necessary, add the profile back by clicking the **+** icon on the **DATA SETS**, **UNIX SYSTEM SERVICES (USS)**, or **JOBS** bar.
### Delete a profile
In Zowe V1, you can permanently delete profiles by right-clicking the profile and selecting the **Delete Profile** option. The feature deletes the profile from your `.zowe` folder. In Zowe V2, right-click the profile, and select **Delete Profile** to open the configuration file and manually delete the profile.

- **Open recent members**: Zowe Explorer lets you open a list of members you have previously worked on. You can access the list by pressing `Ctrl`+`Alt`+`R` or `Command`+`Alt`+`R`.
:::tip
Alternatively, you can delete a profile by using the VS Code **Command Palette**. Press `F1` on your keyboard, then select the **Zowe Explorer: Delete a Profile Permanently** option. In Zowe V1, you select the profile to delete. In Zowe V2, the configuration file opens for you to delete the profile manually.
:::

### Hide a profile
You can hide a profile from the **Side Bar** by right-clicking the profile and selecting the **Hide Profile** option. If necessary, add the profile back by clicking the **+** icon on the **DATA SETS**, **UNIX SYSTEM SERVICES (USS)**, or **JOBS** bar.

### Open recent members
Zowe Explorer lets you open a list of members you have previously worked on. You can access the list by pressing `Ctrl`+`Alt`+`R` or `Command`+`Alt`+`R`.

## Using a specific version of Zowe Explorer

Expand Down

0 comments on commit 8a535f3

Please sign in to comment.