Coder Social home page Coder Social logo

Comments (5)

fannheyward avatar fannheyward commented on May 26, 2024

#67
#205

from coc-snippets.

chemzqm avatar chemzqm commented on May 26, 2024

Need communication between python and node process, should be possible, I think.

from coc-snippets.

SeniorMars avatar SeniorMars commented on May 26, 2024

Thank you for this! But like in the demo, I have arr9x3 and I expect to be able to jump to the $1 through $27 and modify them -- is post jump implemented?

For instance, I expect:

post_jump "create_matrix_placeholders(snip)"
snippet 'arr(\d+),(\d+)' "LaTeX array" br
\begin{array}{`!p
orient = ""
for _ in range(0, int(match.group(1))): orient += "l"
snip.rv = orient`}
`!p
snip.rv = create_matrix(match.group(1), match.group(2), "&", "\t", "\\\\\n")
`$0
\end{array}
endsnippet

This to produce when doing arr3,3

\begin{array}{lll}
	$1 & $2 & $3 \\
	$4 & $5 & $6 \\
	$7 & $8 & $9 \\
\end{array}

And able to edit $1 and so on

from coc-snippets.

SeniorMars avatar SeniorMars commented on May 26, 2024

Or is there a setting I'm missing?

from coc-snippets.

chemzqm avatar chemzqm commented on May 26, 2024

No support for post_jump yet.

from coc-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.