Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format under cursor causes loss of data. #48 #66

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ce35115
Use eol character of vscode.TextEditor when generating the table
Jan 30, 2019
ea49c18
Keep current indentation of the table when formatting
Jan 30, 2019
ea52288
avoid flicker during forward navigation without change
Jan 30, 2019
77cc9ab
Fixed position when using table indent
philipparndt Jan 30, 2019
eb6c5ca
Merge branch 'tableindent'
philipparndt Jan 30, 2019
adec0bd
Ability to insert a column left to the current position
philipparndt Jan 30, 2019
ef3c09b
Documentation for insert new column
philipparndt Jan 30, 2019
8d17de4
Ability to toggle the table mode using the status item
philipparndt Jan 30, 2019
99c46fd
Improved status item text and icon
philipparndt Jan 30, 2019
441eea2
added package script
philipparndt Jan 30, 2019
3c1141f
Introduced 'inTable' context depending on the current selection
Jan 31, 2019
3b2e5b7
Activate on gherkin feature files
Jan 31, 2019
510ce3a
Splitted ITable context to InTable and PotentiallyInTable
Feb 1, 2019
a6fb97d
Added command for column deletion
Feb 6, 2019
1780967
add vsce dev dependency
philipparndt Nov 12, 2020
81d20eb
Merge remote-tracking branch 'upstream/master' into master
philipparndt Nov 12, 2020
51b8543
update to latest VSCode version and rebuild package-lock
philipparndt Nov 12, 2020
0959786
fix editor position race
philipparndt Nov 13, 2020
c778ddc
fix typos
philipparndt Nov 13, 2020
6044fef
clean-up the cursor handling
philipparndt Nov 14, 2020
a66aaec
version update
philipparndt Nov 14, 2020
705d925
clean-up the cursor handling
philipparndt Nov 14, 2020
373c2d0
remove special handling for separator
philipparndt Nov 15, 2020
f19f1b0
use spacing suggested in GitHub docu
philipparndt Nov 15, 2020
2d67f31
remove warning messages
philipparndt Nov 15, 2020
0354fa9
fix code style
philipparndt Nov 22, 2020
a3f73e8
Updated / removed test cases for removed feature (skip separator)
philipparndt Nov 22, 2020
34b058f
Create node.js.yml
philipparndt Nov 22, 2020
1ef80f5
Delete node.js.yml
philipparndt Nov 22, 2020
7e32a1d
Create build.yml
philipparndt Nov 22, 2020
5a17406
Update build.yml
philipparndt Nov 22, 2020
5a433a4
log error when test run fails
philipparndt Nov 22, 2020
e002666
-
philipparndt Nov 22, 2020
74f7dde
xvfb
philipparndt Nov 22, 2020
2607cfa
Create build-preview.yml
philipparndt Nov 22, 2020
687e545
Update build-preview.yml
philipparndt Nov 22, 2020
cd824b4
Update build-preview.yml
philipparndt Nov 22, 2020
dd8808b
regession test
philipparndt Nov 22, 2020
be17617
fix for markdown
philipparndt Nov 22, 2020
f70b3ed
fix for org
philipparndt Nov 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Workflow from https://github.com/cschleiden/vscode-github-actions/blob/master/.github/workflows/build-preview.yml
name: Build nightly release

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '12'
- run: rm package-lock.json
- run: npm --no-git-tag-version version 1.0.${{ github.run_number }}
- run: npm install
- run: npm run package
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 'build-${{ github.run_number }}'
release_name: Nightly Build ${{ github.run_number }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./vscode-text-tables-1.0.${{ github.run_number }}.vsix
asset_name: vscode-text-tables-1.0.${{ github.run_number }}.vsix
asset_content_type: application/vsix
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install, build
run: |
npm ci
npm run build --if-present
env:
CI: true
- name: test
run: |
sudo apt-get install xvfb
xvfb-run --auto-servernum npm test
env:
CI: true

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules

.DS_Store
coverage/
.idea/
e2e/*
!e2e/e2e.code-workspace

8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Command `text-tables.nextRow` (`Text Tables: Next row` in command pallete) for jumping on next row and creating new rows if needed.
- Command `text-tables.nextRow` (`Text Tables: Next row` in command palette) for jumping on next row and creating new rows if needed.

### Changed

- Command `text-tables.gotoNextCell` (`Text Tables: Go to next cell` in command pallete) inserts new row when applied in last data cell of table.
- Command `text-tables.gotoNextCell` (`Text Tables: Go to next cell` in command palette) inserts new row when applied in last data cell of table.
- Fixed markdown parser for tables with separator row where separator row has less columns than other row (#33).

## [0.1.0] - 2018-04-16
Expand Down Expand Up @@ -60,8 +60,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Command `text-tables.enable` (`Text Tables: Enable` in command pallete) for activating extension in any file.
- Command `text-tables.clearCell` (`Text Tables: Clear cell` in command pallete) for clearing cell under cursor.
- Command `text-tables.enable` (`Text Tables: Enable` in command palette) for activating extension in any file.
- Command `text-tables.clearCell` (`Text Tables: Clear cell` in command palette) for clearing cell under cursor.

## [0.0.4] - 2018-04-11

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VSCode extension that brings the power of Emacs table editing.

## Activation

Extension is automatically activated when you open markdown or org file. If you want to use this extension in any other file, just trigger `Text Tables: Enable` command in command pallete.
Extension is automatically activated when you open markdown or org file. If you want to use this extension in any other file, just trigger `Text Tables: Enable` command in command palette.

## Commands

Expand All @@ -32,8 +32,9 @@ Extension provides several commands that are available in the Command Palette:
- `Text Tables: Go to next cell` - switch to next cell in current table.
- `Text Tables: Go to previous cell` - switch to previous cell in current table.
- `Text Tables: Clear cell` - clear cell under cursor.
- `Text Tables: Create column left to` - create a new column left to the current column.

You can access all of the above commands from the command pallete (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd> or <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd>)
You can access all of the above commands from the command palette (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd> or <kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd>)

## Table mode

Expand All @@ -57,6 +58,7 @@ When in table mode, <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd> keybindin

- <kbd>Tab</kbd> - navigate to the next cell in table.
- <kbd>Shift</kbd>+<kbd>Tab</kbd> - navigate to the previous cell in table.
- <kbd>Alt</kbd>+<kbd>Numpad +</kbd> - create a new column left to the current position.

### Custom keybindings

Expand Down
Loading