GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — apitable/.vscode/project.code-snippets at develop · binaryTreeCuter/apitable

Expand file tree

/

project.code-snippets

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
40 lines (39 loc) · 1.32 KB
/

project.code-snippets

Copy path

File metadata and controls

40 lines (39 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
// Place your datasheet-fix workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Create React function component template code based on filename
"Custom React functional component": {
"prefix": "rfc",
"scope": "typescriptreact",
"body": [
"import React, { FC } from 'react';",
"",
"interface I$1Props {",
"\t$2",
"}",
"",
"export const ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/}}: FC<I$1Props> = (props) => {",
"\treturn (",
"\t\t<div>",
"\t\t\t$0",
"\t\t</div>",
"\t);",
"};",
"",
],
"description": "React Functional Component"
},
// t(Strings.<your_key>) for internationalization
"t(Strings.<your_key>)": {
"prefix": "tstrings",
"scope": "typescript,typescriptreact",
"body": [
"t(Strings.$1)$0",
],
"description": "t(Strings.<your_key>)"
}
}
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.