Skip to content

Commit

Permalink
rename from pug definition to pug navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizan-Rifat committed Jun 21, 2023
1 parent 8a9fdfe commit 7416adb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Change Log

All notable changes to the "pug-definition" extension will be documented in this file.
All notable changes to the "pug-navigation" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]
## [v1.0.0]

- Initial release
- Initial release
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# VS Code Extension - Pug Definition
# VS Code Extension - Pug Navigation

<div align="center">
<img src="img/logo.png" alt="VS Code Extension Logo">
</div>

## Overview

The Pug Definition extension for Visual Studio Code enhances your development experience by providing easy navigation to definition files and mixin declarations within your Pug (formerly Jade) templates. With just a few clicks, you can quickly jump to the extended or included partial file or navigate to the mixin definition file, saving you valuable time during Pug template development.
The Pug Navigation extension for Visual Studio Code enhances your development experience by providing easy navigation to definition files and mixin declarations within your Pug (formerly Jade) templates. With just a few clicks, you can quickly jump to the extended or included partial file or navigate to the mixin definition file, saving you valuable time during Pug template development.

## Installation

1. Launch Visual Studio Code.
2. Open the Extensions view by clicking on the square icon on the left sidebar or by pressing `Ctrl+Shift+X`.
3. Search for "Pug Definition" in the extension marketplace.
3. Search for "Pug Navigation" in the extension marketplace.
4. Click the "Install" button to install.

## Usage
Expand All @@ -35,7 +35,7 @@ No additional configuration is required for the extension to work. It automatica

## Troubleshooting

If you encounter any issues while using the Pug Definition extension, try the following steps:
If you encounter any issues while using the Pug Navigation extension, try the following steps:

1. Make sure the extension is properly installed and enabled.
2. Ensure that your Pug templates have the necessary extends or include statements.
Expand All @@ -53,4 +53,4 @@ This extension is released under the [MIT License](LICENSE).

### Version 1.0.0

- Initial release of the Pug Definition extension.
- Initial release of the Pug Navigation extension.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "pug-definition",
"displayName": "Pug Definition",
"name": "pug-navigation",
"displayName": "Pug Navigation",
"description": "Provide easy navigation to pug definition files and mixin declarations",
"publisher": "MizanRifat",
"icon": "img/logo.png",
"version": "1.0.1",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/Mizan-Rifat/pug-definition.git"
"url": "https://github.com/Mizan-Rifat/pug-navigation.git"
},
"engines": {
"vscode": "^1.79.0"
Expand All @@ -23,13 +23,13 @@
"contributes": {
"commands": [
{
"command": "pug-definition.pug-definition",
"title": "Pug Definition"
"command": "pug-navigation.pug-navigation",
"title": "Pug Navigation"
}
],
"keybindings": [
{
"command": "pug-definition.pug-definition",
"command": "pug-navigation.pug-navigation",
"key": "ctrl+o",
"mac": "ctrl+o",
"when": "editorFocus && editorLangId == jade",
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as vscode from 'vscode';
import { goToDefinationFile, goToMixinFile } from './functions';

export function activate(context: vscode.ExtensionContext) {
console.log('Pug Definition is now active!');
console.log('Pug Navigation is now active!');

let hoverProvider = vscode.languages.registerHoverProvider('jade', {
provideHover(document) {
Expand All @@ -21,7 +21,7 @@ export function activate(context: vscode.ExtensionContext) {
}
});

let disposable = vscode.commands.registerCommand('pug-definition.pug-definition', () => {
let disposable = vscode.commands.registerCommand('pug-navigation.pug-navigation', () => {
vscode.window.withProgress(
{
location: vscode.ProgressLocation.Notification,
Expand Down

0 comments on commit 7416adb

Please sign in to comment.