Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

216
Views
When pressing tab from snippet, it only shows the literal ID

I wrote a Javascript snippet and when typing it in and pressing tab it out gives me the declared literal ID, is there something I am missing?

<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <Header>
            <Title>Create Button</Title>
            <Description>Creating a button</Description>
            <Shortcut>myButton</Shortcut>
        </Header>
        <Snippet>
            <Code Language="javascript">
                <![CDATA[$(`$ButtonID$`).on(`click`, (e)=>{
                        TryCatch(()=>{
                            LogCallStack(`$Stack$`);
                            $Start$
                        });
                    });]]>
            </Code>
            <Declarations>
                <Literal>
                    <ID>ButtonID</ID>
                    <ToolTip>Need To Add ID</ToolTip>
                </Literal>
                <Literal>
                    <ID>Stack</ID>
                    <ToolTip>Test</ToolTip>
                </Literal>
                <Literal>
                    <ID>Start</ID>
                    <ToolTip>Test</ToolTip>
                </Literal>
            </Declarations>
        </Snippet>
    </CodeSnippet>
</CodeSnippets>
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!