Skip to content

Commit

Permalink
chore(release): 1.0.2 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Jul 15, 2021
1 parent 3e2f213 commit 1c97840
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.0.2](https://github.com/atom-community/atom-ide-code-format/compare/v1.0.1...v1.0.2) (2021-07-15)


### Bug Fixes

* fix and optimize _formatCodeInTextEditor ([2607425](https://github.com/atom-community/atom-ide-code-format/commit/2607425a8516718d67c9506fc8e233852e194c7e))
* optimize _formatCodeOnTypeInTextEditor ([16009d4](https://github.com/atom-community/atom-ide-code-format/commit/16009d4b247129ca599ce16165866d35aade1ba1))
* set save on type to false ([29b83d3](https://github.com/atom-community/atom-ide-code-format/commit/29b83d354dbdc5f2a5ff44e31e285e899c60f60c))

## [1.0.1](https://github.com/atom-community/atom-ide-code-format/compare/v1.0.0...v1.0.1) (2021-07-15)


Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/src/CodeFormatManager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Range, CompositeDisposable, TextEditor, Disposable, BufferStoppedChangi
import type { TextEdit, BusySignalService } from "atom-ide-base";
import type { FileCodeFormatProvider, OnSaveCodeFormatProvider, OnTypeCodeFormatProvider, RangeCodeFormatProvider } from "./types";
import { ProviderRegistry } from "atom-ide-base/commons-atom/ProviderRegistry";
export declare const SAVE_TIMEOUT = 2500;
export declare const SAVE_TIMEOUT = 500;
export default class CodeFormatManager {
_subscriptions: CompositeDisposable;
_rangeProviders: ProviderRegistry<RangeCodeFormatProvider>;
Expand All @@ -11,8 +11,8 @@ export default class CodeFormatManager {
_onSaveProviders: ProviderRegistry<OnSaveCodeFormatProvider>;
_busySignalService: BusySignalService | undefined;
constructor();
_formatCodeInTextEditor(editor: TextEditor, range?: Range): Promise<Array<TextEdit>>;
_formatCodeOnTypeInTextEditor(editor: TextEditor, aggregatedEvent: BufferStoppedChangingEvent): Promise<Array<TextEdit>>;
_formatCodeInTextEditor(editor: TextEditor, selectionRange?: Range): Promise<Array<TextEdit>>;
_formatCodeOnTypeInTextEditor(editor: TextEditor, { changes }: BufferStoppedChangingEvent): Promise<Array<TextEdit>>;
_formatCodeOnSaveInTextEditor(editor: TextEditor): Promise<TextEdit[]>;
_reportBusy<T>(editor: TextEditor, promise: Promise<T>, revealTooltip?: boolean): Promise<T>;
addRangeProvider(provider: RangeCodeFormatProvider): Disposable;
Expand Down
2 changes: 2 additions & 0 deletions dist/src/utils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/** A faster vresion of lodash.debounce */
export declare function debounce<T extends (...args: any[]) => void>(func: T, wait: number): T;
2 changes: 1 addition & 1 deletion dist/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Code Formatting for Atom IDE",
"repository": "https://github.com/atom-community/atom-ide-code-format",
"main": "./dist/main.js",
"version": "1.0.1",
"version": "1.0.2",
"description": "Provides a code-formatting provider API",
"scripts": {
"format": "prettier --write .",
Expand Down

0 comments on commit 1c97840

Please sign in to comment.