-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* grammar updates to allow date ranges and validate issue_dynamic * checks that spawned block names exist * wired up issue_dynamic form editor * snippets for some block structures * validate issue_dynamic arguments * support SPACECRAFT_TIME() command and encoded_string arg * tooltip for encoded string * st warning * extract functions for spawn and issue validation * display byte array in selected command * show decoded by array as read only in form view * form view for library sequence * tooltips for spawn and issue_dynamic args * remove redundant display of command description * check variable and global reference in issue* * remove unused parameter * svelte-check version doesn't support set union * button to show error panel * polish on completion suggestions * add default arg for globals * reduce nesting * widen allowed input type on guard * remove obosolete comment * exempt variable declarations from checking if in scope * spelling * expand docs on issue vs issue_dynamic * split up numerci cases * readability of content assist * stricter types * readability of completion code * add comment to make SeqN adaptation symmetric * reduce conditional nesting * fix svelte-check lint * remove extraneous truthyness check * reduce nesting * reduce nesting * Define constant for language name * remove try/catch around svelte component creation * enum for sequence types * wrap form inputs in div for byte editor * helper for computing library sequences for seqn * missed file in prior commit * smaller pieces for auto-complete * better handling of typing new issue, issue_dynamic, etc * minor cleanup * Move SequenceTypes to enums file * accept sonarqube false positive
- Loading branch information
Showing
22 changed files
with
1,302 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<svelte:options immutable={true} /> | ||
|
||
<script lang="ts"> | ||
export let message: string; | ||
</script> | ||
|
||
<div class="sequence-tooltip"> | ||
<div class="container"> | ||
{message} | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.container { | ||
align-items: center; | ||
display: flex; | ||
padding: 5px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<svelte:options immutable={true} /> | ||
|
||
<script lang="ts"> | ||
import type { SyntaxNode } from '@lezer/common'; | ||
import { decodeInt32Array } from '../../../utilities/codemirror/codemirror-utils'; | ||
import type { CommandInfoMapper } from '../../../utilities/codemirror/commandInfoMapper'; | ||
export let argNode: SyntaxNode; | ||
export let commandInfoMapper: CommandInfoMapper; | ||
export let value: string; | ||
let decodedValue: string; | ||
$: { | ||
const arrayNodes = commandInfoMapper.getByteArrayElements && commandInfoMapper.getByteArrayElements(argNode, value); | ||
if (arrayNodes) { | ||
decodedValue = decodeInt32Array(arrayNodes); | ||
} | ||
} | ||
</script> | ||
|
||
<div> | ||
<input class="st-input w-100" spellcheck="false" bind:value title="encoded string" disabled={true} /> | ||
<input class="st-input w-100" spellcheck="false" bind:value={decodedValue} title="decoded string" disabled={true} /> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export enum SequenceTypes { | ||
LIBRARY = 'library', | ||
USER = 'user', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.