sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    HELP setting up a SU code editor

    已排程 已置頂 已鎖定 已移動 Developers' Forum
    97 貼文 11 Posters 6.4k 瀏覽 11 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • D 離線
      driven
      最後由 編輯

      @dan rathbun said:

      That IS interesting John.
      By running in Alex's Code Editor, only Alex's Code Editor is being debugged.

      Hi Dan,
      I've been using it to help debug Chris Glasier's nSet for Mac use, but in the process I tried it on 3 or 4 WebDiolog
      based rubies and it seems a very useful debug tool, for that type of interactive ruby that is popular... and usually PC only. it does report .rb errors (in relation to itself)

      I was actually trying to put syntax highlighting into RCE using a similar approach, and though I'd try this as a practice run. I should point it to my url.local and run more features, but I haven't stopped using it long enough yet...

      has any one tried Ruby-Mine yet??

      john

      learn from the mistakes of others, you may not live long enough to make them all yourself...

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        @driven said:

        has any one tried Ruby-Mine yet??

        Afraid not. The last week I was deep into getting to grips with C programming.
        So much to try out - so little time. 😞

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 條回覆 最後回覆 回覆 引用 0
        • chrisglasierC 離線
          chrisglasier
          最後由 編輯

          This relates to FireBugLite.

          Can anyone tell me why this happens:

          pig 006.png

          and how to change what so I can see the code.

          Thanks

          With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

          1 條回覆 最後回覆 回覆 引用 0
          • Dan RathbunD 離線
            Dan Rathbun
            最後由 編輯

            @Chris: Do you have nsetWebDialog.set_full_security= true or false ??
            (It defaults to false if you don't explicitly set it.)

            I'm not here much anymore.

            1 條回覆 最後回覆 回覆 引用 0
            • Dan RathbunD 離線
              Dan Rathbun
              最後由 編輯

              @Chris: In your webpage for nset, it would easier if you assign an ID to the SCRIPT element(s) that load the external javascript files.

              %(#804000)[<SCRIPT ID='nset_core_js' LINK='..path../core.js'>]

              Then in Firebug Lite, try inspecting by ID. Enter the ID name in the inspect control box. If that doesn't work, try entering:
              document.getElementById('nset_core_js')

              I'm not here much anymore.

              1 條回覆 最後回覆 回覆 引用 0
              • Dan RathbunD 離線
                Dan Rathbun
                最後由 編輯

                Firebug page(s) to bookmark:
                http://getfirebug.com/wiki/index.php/Main_Page

                http://getfirebug.com/wiki/index.php/Firebug_Lite

                Forum - Google Groups [EDIT-Added]
                http://groups.google.com/group/firebug

                I'm not here much anymore.

                1 條回覆 最後回覆 回覆 引用 0
                • Dan RathbunD 離線
                  Dan Rathbun
                  最後由 編輯

                  @chrisglasier said:

                  Can anyone tell me why this happens:

                  @unknownuser said:

                  Access to restricted URI denied

                  I suspect what's happening, is MSIE copies the code into the "Temporary Internet Files" folder, which is usually a Restricted Sites Zone (security-wise.) I've tried (in the past,) to add a specific local folder to my "Trusted Sites Zone" but MSIE refuses.

                  I'm not here much anymore.

                  1 條回覆 最後回覆 回覆 引用 0
                  • chrisglasierC 離線
                    chrisglasier
                    最後由 編輯

                    @dan rathbun said:

                    ... but MSIE refuses.

                    Thanks for all your suggestions, which I tried ... but as you said MSIE refuses. No FireBugLite at the end of the tunnel.

                    Thanks again.

                    With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                    1 條回覆 最後回覆 回覆 引用 0
                    • Dan RathbunD 離線
                      Dan Rathbun
                      最後由 編輯

                      @dan rathbun said:

                      @chrisglasier said:

                      Can anyone tell me why this happens:

                      @unknownuser said:

                      Access to restricted URI denied

                      I suspect what's happening, is MSIE copies the code into the "Temporary Internet Files" folder, which is usually a Restricted Sites Zone (security-wise.) I've tried (in the past,) to add a specific local folder to my "Trusted Sites Zone" but MSIE refuses.

                      @Chris !!

                      I think I was always trying the wrong thing! I was supposed to be adding the local folder to the LIZ ("Local Intranet Zone".)
                      I stumbled upon this paper:
                      http://msdn.microsoft.com/en-us/library/bb250483(v=VS.85).aspx

                      So retry, go to Internet Options > Security (tab)
                      Hilight "Local intranet", click the "Sites" button.
                      On the "Local Intranet" dialog, click the "Advanced" button.
                      See if the folder (beginning "file://") to your JS code is in the "Websites:" list, if not, add it.

                      See if that helps FirebugLite find your JS scripts.

                      I'm not here much anymore.

                      1 條回覆 最後回覆 回覆 引用 0
                      • chrisglasierC 離線
                        chrisglasier
                        最後由 編輯

                        Thanks Dan I will try that and let you know (I'm at GMT + 8 btw)

                        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                        1 條回覆 最後回覆 回覆 引用 0
                        • chrisglasierC 離線
                          chrisglasier
                          最後由 編輯

                          Here's what I got in IE:

                          pig 013.png

                          and still access denied in FireBugLite

                          So I don't know

                          With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                          1 條回覆 最後回覆 回覆 引用 0
                          • C 離線
                            Chelmite
                            最後由 編輯

                            I did a search on the aptana site for "sketchup" and didn't find anything.
                            Are there any installation instructions on how to pair up aptana and sketchup?

                            @thomthom said:

                            That's an interesting article.

                            @unknownuser said:

                            You can download Aptana Studio and RadRails, but the installation process is long and complicated. Besides, if you just want a Ruby editor, downloading a 30-day evaluation version of the gigantic Aptana Studio isn't worth it.

                            Complicated installation process? And the thing is free. http://www.aptana.org/

                            Anyway - are you able to set breakpoints etc in SU plugin scripts and run them from Eclipse?

                            1 條回覆 最後回覆 回覆 引用 0
                            • 1
                            • 2
                            • 3
                            • 4
                            • 5
                            • 1 / 5
                            • 第一個貼文
                              最後的貼文
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement