如果我错了请纠正我,在CoffeeScript中取消缓冲(不输出到.js)注释的唯一方法是
# This is the only way to mute this single-line comments
###缓冲多行的注释
### This will be outputted to the .js
For things like copyright notices.
###
但是有没有办法有无缓冲的多行注释?
# This is the only way to mute
# multiple-lines
谢谢。
我使用atom编译我的python代码。我想测试一下我遇到的这个problem.This是错误的IDE.But:
Uncaught TypeError: Bad argument
internal/child_process.js:289
TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:289:26)
at Object.exports.spawn (child_process.js:392:9)
at compile (C:\Users\wenzh\.
我经常在浏览笔记本的过程中意识到我忘记了导入,我想把它移到笔记本的顶部(在那里我试图保留大部分导入的内容)。有没有办法向~/.jupyter/custom/custom.js添加键盘快捷键,将单元格移动到笔记本顶部?
目前,我通过剪切单元格,滚动到笔记本顶部,粘贴并向下滚动到我所在的位置(通常在返回的过程中会丢失位置)来做到这一点。
下面是来自的一些代码,用于完成不同的任务:转到正在运行的单元:
Jupyter.keyboard_manager.command_shortcuts.add_shortcut('CMD-I', {
help : 'Go to Run