Skip to content

Commit

Permalink
v5.0.6 (#454)
Browse files Browse the repository at this point in the history
* Fixup provider import, utils arg name

* Update extension description

* fixup readme

* Fixup readme (lowercase)

* Add v5.0.6

* Clarify readme
mark-wiemer authored Aug 17, 2024
1 parent a47a2a3 commit 30fcf27
Showing 7 changed files with 30 additions and 21 deletions.
9 changes: 9 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 5.0.6 - 2024-08-17 📝

Changes to the marketplace page require a new version. This version has no user-facing changes, just documentation updates:

- Update package description to clarify v2 support is in preview
- Update readme to clarify v2 support is in preview

Full v2 support (IntelliSense, debugging, formatting) is coming later this month! ([Issue #453](https://github.com/mark-wiemer-org/ahkpp/issues/453))

## 5.0.5 - 2024-05-24 🏝️

- Fix formatter in single line hotkey fall-through scenario ([#440](https://github.com/mark-wiemer-org/ahkpp/issues/440), [#442](https://github.com/mark-wiemer-org/ahkpp/issues/442))
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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "vscode-autohotkey-plus-plus",
"displayName": "AutoHotkey Plus Plus",
"version": "5.0.5",
"description": "AutoHotkey v1 and v2 language support for Visual Studio Code: IntelliSense, debugging, formatting, and more",
"version": "5.0.6",
"description": "AutoHotkey language support for Visual Studio Code: IntelliSense, debugging, formatting, and more. AHK v1 fully supported, v2 in preview.",
"categories": [
"Debuggers",
"Formatters",
19 changes: 12 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# AutoHotkey Plus Plus (AHK++)

AutoHotkey Plus Plus (AHK++) provides AutoHotkey v1 and v2 language support for VS Code. This includes:
AutoHotkey Plus Plus (AHK++) provides AutoHotkey language support for VS Code. For AHK v1, this includes:

- IntelliSense
- code highlighting
- syntax highlighting
- debug support
- code formatting
- formatting
- quick help
- ...and more!

## 5.0.0 - AutoHotkey v2 support now in preview!
## AHK v2 full support coming August 2024!

AutoHotkey v2 support has been a [long-requested feature](https://github.com/mark-wiemer-org/ahkpp/issues/96), and this release now supports nearly all functionality!
AutoHotkey v2 support has been a [long-requested feature](https://github.com/mark-wiemer-org/ahkpp/issues/96), and v5.0.0 supports many key features. An August 2024 update will add IntelliSense, formatting, and debugger support to AHK++!

Supported features include:

@@ -19,9 +20,13 @@ Supported features include:
- Full syntax highlighting for v2 scripts
- Unique icons for v1 (blue) and v2 (green)

See the full changes at the [changelog](https://github.com/mark-wiemer-org/ahkpp/blob/main/Changelog.md).
[Known limitations (issue #385)](https://github.com/mark-wiemer-org/ahkpp/issues/385):

For issues with the extension recognizing v1 files as v2, or vice-versa, refer to (issue 396)[https://github.com/mark-wiemer-org/ahkpp/issues/396]. Please [report any other issues](https://github.com/mark-wiemer-org/ahkpp/issues/new/choose) as well!
- No formatting support
- Minimal IntelliSense/snippets support
- No debugger support

Please [report any other issues](https://github.com/mark-wiemer-org/ahkpp/issues/new?assignees=mark-wiemer&labels=AHK+v2&projects=&template=v2.md&title=%5Bv2%5D+) 🐛

## Contents

7 changes: 2 additions & 5 deletions src/providers/format.test.ts
Original file line number Diff line number Diff line change
@@ -3,11 +3,8 @@ import * as assert from 'assert';
import * as fs from 'fs-extra';
import * as path from 'path';
import * as vscode from 'vscode';
import {
FormatProvider,
internalFormat,
} from '../providers/formattingProvider';
import { FormatOptions } from '../providers/formattingProvider.types';
import { FormatProvider, internalFormat } from './formattingProvider';
import { FormatOptions } from './formattingProvider.types';

const inFilenameSuffix = '.in.ahk';
const outFilenameSuffix = '.out.ahk';
File renamed without changes.
8 changes: 3 additions & 5 deletions src/test/utils.ts
Original file line number Diff line number Diff line change
@@ -2,9 +2,7 @@ import * as vscode from 'vscode';

/**
* Shortcut for `vscode.workspace.openTextDocument(Uri.file(fileName))`
* @param fileName A name of a file on disk. This is the full path to the file.
* @param path A name of a file on disk. This is the full path to the file.
*/
export const getDocument = async (
fileName: string,
): Promise<vscode.TextDocument> =>
await vscode.workspace.openTextDocument(fileName);
export const getDocument = async (path: string): Promise<vscode.TextDocument> =>
await vscode.workspace.openTextDocument(path);

0 comments on commit 30fcf27

Please sign in to comment.