问题标签 [coda]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jquery - too much recursion error in jquery
this code:
$(document).ready(function() {
$('body').click(function(evt) {
if(evt.target.nodeName === 'A' && $(evt.target).hasClass('cross-link')) {
$('a[href=#2]').trigger('click');
} });});
given me and error of "too much recursion"
one might think that I should just attach a handler to the crosslink element. i tried this, but I couldn't get it to work because the DOM loads before the cross-link class elements are created. what do I need to do to fix this or do you have a better idea of what I should do to implement what I'm trying to do?
if you want to see the error for yourself, do to eataustineat.com/testfolder/ type in a 'd' in the search field select dog almighty (this is where you should notice the "too much recursion error" it will move the div to the left, but it will do so very buggily.
textmate - 在 TextMate 中自动完成
在对应用程序的长时间延迟和普遍缓慢感到恼火之后,我最近从 Coda 切换到 TextMate。TM 有一些烦恼,但这主要是因为我习惯了其中一个。然而,让我发疯的一个方面是缺乏自动自动完成功能。
例如,在 Coda 中的 CSS 文档中,我可以开始输入 fo,Coda 会弹出字体样式、字体粗细等列表。选择其中一个将显示可用属性、粗体、浅色等,再次可选择。在 TextMate 中,我已经开始使用 Bundle 自动完成快捷方式,但它们几乎没用,因为您必须输入几乎整个内容才能获得较短的片段。
有什么方法可以让 TextMate 复制 Coda 在您键入时自动提示的行为?如果没有,是否还有其他编辑器(BBEdit?)?谢谢。
php - 不同 URL 的 CODA 实时预览
考虑这种情况:您正在从某个 wordpress 主题编辑模板文件,并希望在 CODA 实时预览中拥有它。由于路径不同,它不会显示实时预览。
例如我正在编辑;/wp-content/themes/pixel/header.php 并希望在实时预览窗口中有 www.wordpress.loc(我使用“loc”进行本地开发)它只有在我有http://www.wordpress.loc时才有效/wp-content/themes/pixel/header.php在实时预览中。但当然这对于 wordpress 开发人员来说是不可用的。
现在我必须总是点击实时预览窗口中的刷新按钮。有没有什么插件或方法我可以自动做到这一点?请不要建议我使用 XRefresh 或 LiveReload,因为它们不适用于内部 CODA 预览。
python - Coda 中的 PythonTidy 集成?
有没有办法直接在 Coda 中集成类似 PythonTidy 的功能?
comments - 如何在 Coda 中自动插入评论标题?
每当我创建一个新文件时,我希望能够包含一个以我为作者和一些版权信息的评论标题。我怎样才能自动生成这个?
html - 尾声 - 插件?跟踪分区
有谁知道是否有一个 Coda 插件可以显示 Div 的开始和结束位置?我相信TextMate有这个功能......
解决方案:安装 TEA for Coda 插件
然后执行:TEA for Coda > Select > Balanced Tag
python - 在 Coda 中重新缩进/整理 Python 代码的最简单方法是什么?
任何人都有一种聪明的方法可以在 Mac 的 Coda 编辑器中快速修复 Python 文档中的缩进问题?
有人说这reindent.py
是要走的路,但它甚至没有随 Python 的所有版本一起提供。想法?
coda - 带键盘的 Coda 文件导航
有没有办法使用键盘在 Coda 中导航文件?我喜欢 Coda 的大部分内容,但必须使用鼠标查找和打开文件有点痛苦。希望我遗漏了一些明显的东西。
emacs - 如何在 Textmate 和 Notepad++ 等 Coda 中启用完成功能?
Textmate & Notepad++ 可以完成当前文档中出现的所有单词,如何在 Coda 中启用?
ed 我在文档中输入了“some_text”,然后当我输入“some_”然后按 ESC - “some_text”应该出现在建议列表中。
plugins - 如何卸载 Coda 插件?
我安装了一个 coda 插件并想卸载它,但不知道该怎么做?