• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

172
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 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error