Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

BBEdit 9

Discussion in 'Formats & External Tools' started by podperson, Aug 30, 2008.

  1. podperson

    podperson

    Joined:
    Jun 6, 2006
    Posts:
    1,371
    BBEdit 9 is out and it's autocomplete is *very nice*. I haven't figured out how easy it would be to customize it for Unity though (and it autocompletes JavaScript's language components, but not DOM stuff -- I hope this is a content issue which can be easily addressed, because remembering when Unity will camelCase and when it won't (rigidbody vs. rigidBody...) drives me nuts.
     
  2. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Can you teach me about how to set BBEditor for autocomplete Unity JS ?
    May be a little tutorial for nub? :oops:
     
  3. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
  4. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    How can I install this .plist? I put it in the Language Modules folder in the BBEdit root, but have no Unity Script language. What I miss?
     
  5. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Oops. I just need to restart. All fine. I'll looking deeply...
     
  6. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Hmm. No autocompletion yet... I dont know why.
    Show text completions is set to After a delay n typing.
     
  7. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    how good is the auto-complete?

    I've heard that BBEdit's auto-complete is atrocious. Those comments almost scared me over to TextMate.

    PodPerson's comments above however are encouraging.
     
  8. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    Hmmm.... open the plist and look for this line:

    <key>BBLMSupportsTextCompletion</key>
    <true/>

    If it is not there, slip it in near the top after this

    <key>BBLMScansFunctions</key>
    <true/>

    If it is there, I suspect that your autocomplete is set up in a weird way. Someone else with BBEdit 9 will have to respond to verify.
     
  9. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Code (csharp):
    1. <plist version="1.0">
    2. <dict>
    3.     <key>Copyright</key>
    4.     <string>Copyright © 2008, PONG.LI/R, All Rights Reserved.</string>
    5.     <key>Author</key>
    6.     <string>RISCHKONG</string>
    7.     <key>Version</key>
    8.     <string>0.3</string>
    9.     <key>BBEditDocumentType</key>
    10.     <string>CodelessLanguageModule</string>
    11.     <key>BBLMColorsSyntax</key>
    12.     <true/>
    13.     <key>BBLMIsCaseSensitive</key>
    14.     <false/>
    15.     <key>BBLMLanguageCode</key>
    16.     <string>UJs</string>
    17.     <key>BBLMLanguageDisplayName</key>
    18.     <string>Unity3D 2.1</string>
    19.     <key>BBLMScansFunctions</key>
    20.     <true/>
    21.     <key>BBLMSupportsTextCompletion</key>
    22.     <true/>
    23.     <key>BBLMPredefinedNameList</key>
    24.     <array>
     
  10. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Something works, something is not present. This is strange. Hmm.
     
  11. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    Well... just keep digging, and let us know what you find. Until I hear a full report I am not paying to upgrade BBEdit. I can live without auto-completion if it isn't perfected.
     
  12. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    May be I'll live too and wait for windows version of Unity.
    I like MacOS X, but for expansive 3D programming work this OS is not so good. And all shader redactors from ATI and NVidia works only with Windows.
    Heh.
     
  13. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    Ha ha ha.

    You need to get into the 'nix, man. OS X is just aqua colored candy for 'nix. Get your hands dirty and learn how to use the tool.

    If you feel like this, you should get TextMate and customize the tool for yourself. I hear its autocompletion is much snappier so the trick would be to teach it how to recognize the Unity JS/C#.

    I've been revisiting the command line on OS X recently... and there is no way in hell I'll ever go over to windows now. Its been ten years since I touched this kind of stuff (I used to dig Z-shell), but its a welcome blast from the past.
     
  14. AngryAnt

    AngryAnt

    Keyboard Operator

    Joined:
    Oct 25, 2005
    Posts:
    3,045
    Where did you read about autocompletion in TextMate? I still haven't found anything on the subject other than "its coming soon".
     
  15. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Much to our regret, all manufacturers of computer iron first of all focus the novelties on Windows. Other OS strongly lag behind.
    I dont wanna wait for new drivers. I want use my stuff rght now.
    And one more : for me, russian guy, MacOS X or other Unix builds is not so friendly like Bill Gates monster.
     
  16. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    My work is focused on Windows world and it is normal that it is convenient to me to work in Windows.
     
  17. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    Download the demo and play with it. Its a tab autocompletion scheme based upon what language you are using.
     
  18. aaron-parr

    aaron-parr

    Joined:
    Apr 22, 2007
    Posts:
    577
    To clarify, I meant what I said with a sense of humor. Humor doesn't always translate cross culturally - and certainly not in text. So in all seriousness: no hard feelings or judgement of any kind were meant.
     
  19. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I know what humor is ;0)
    But not always notice where humor is in the English text.
    ;0)
     
  20. RISCHKONG

    RISCHKONG

    Joined:
    Nov 19, 2008
    Posts:
    1
    Hi all,

    so this little bbedit codeLanguagemodule your talking abouthttp://pong.li/dev/unity3d/, we've done is really basic (all classes etc. are inside), the autocomplete runs normally fine.

    but if you got troubles, find missing function etc. write. currently we are fixing up this inside a real c Plugin for bbedit. but i think this will take some time.

    we would prefer to develop inside xcode or eclipse in combo with unity3d libs, maybe some one know how to figure out this?

    cheers,

    R
     
  21. Deleted User

    Deleted User

    Guest

    Hello , i'm using bbedit 9.5.1 demo and the codeLanguagemodule doesn't work.
    I have problems with opening collapsed functions and function detection.
    Autocompletion is not important for me now.

    any news?

    Thank you,

    Andrea
     
  22. Muckel

    Muckel

    Joined:
    Mar 26, 2009
    Posts:
    471
    just want to say Thank You !
    I Use the last BBedit 10.1 and all is working fine !
    Great that someone takes his time to develop this great add on !!!
    I Highly recommend BBEdit... much better than MonoDevelop that still sucks on both PC Mac...
    Hope that Unity will switch to a better Code Editor than MonoDevelop... it looks like 10 Years ago...
    Well try also TexMAte and it works also fine but i know BBedit from the beginning... and have a family license....
    So if you are on Mac give BBedit a Try use the Unity Extension for C# js from Pong: http://pong.li/dev/unity3d/
    It works very well for me and i never have to refresh or other issues with MONODevelop.... duhhhh
     
  23. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    210