Page 3 of 47 FirstFirst 123456713 ... LastLast
Results 21 to 30 of 467

  Click here to go to the first Developer post in this thread.  

Thread: Squint - the sqf editor and error-checker

  1. #21
    Quote Originally Posted by ruebe View Post
    Maybe that way it feels more like Neo hacking the matrix or something in this direction



    Black? As a background color? Easier on the eyes? To read (white and even colored!!!) text?
    ...

    Are you shitting me?
    To read white text, it'd be bad, but it's almost all highlighted in different colours. So for me at least, it's easier on the eyes than having the same highlighting but a white background.

  2. #22
    OMG! This is AWSOME!

    Quote Originally Posted by sbsmac View Post
    None of the BIS functions are currently recognised. I just need to build a dictionary for these when I can get to my gaming PC (my back is fubared right now and I'm confined to bed with a crappy laptop).
    Surely someone can help with this?

  3. #23
    First Lieutenant Kremator's Avatar
    Join Date
    Jun 8 2007
    Location
    Cambridge, UK
    Posts
    5,002
    VERY nice!

  4. #24
    Please enable "Browse" for folder ASAP.

    I find that nice because you can copy and paste the folder your in already.

    Also an undo would be real nice and when you go to reload a project and want to dump all your changes it really shouldn't ask me about every file that has changed.
    Last edited by callihn; Aug 20 2010 at 08:01.

  5. #25
    Master Gunnery Sergeant
    Join Date
    Aug 24 2003
    Posts
    1,292
    Author of the Thread
    Obviously some of you never had to work with white/green on black monochrome 40x25 monitors back in the day..... ;-) And you should be grateful I changed the font away from 'Comic Sans' which I'd been using as a placeholder during development.

    Anyway you can change colours by going to the "settings/fonts and colours" menu option. I may at some stage introduce different 'themes'. In the meantime everlasting glory will go to the person who can come up with a nicer combination of colours and post it here as a new default. The easiest thing to do is post a small screenshot and a link to your config file which is well hidden on your disk but which you can find by running this command at the command prompt

    c:\> findstr /s squint.Properties.Settings user.config
    If this command turns up multiple files and you're not sure which one is correct, try changing the Settings/Path to something unique like "jabberwocky" and searching for that instead.

    To answer some of the other points...

    you need some way to tell squint that this variable, even if not recognized, is okay. "I got this one squint".
    Yep on the list - see http://dev-heaven.net/issues/12493 . I'll probably just start out with a 'per-file' exception mechanism.


    (on UTF-8) The good part is at least is saves the character(s) the same way it loads them

    Yes I worked quite hard to make sure that what went out was the same as what went it. Handling different encodings is 'difficult' especially as the data-path assumes that each character is one byte (not good for internationalisation but indexing errors into the file is a nightmare otherwise).
    Using the preprocessed view seems to FUBAR the syntax highlighting (Notice the T too):
    Yep- known issue -see http://dev-heaven.net/issues/12912


    Can this work for HPP files?
    Yes, if you drag an hpp file into the file list you can open it but they are currently mis-categorised as sqf files. To fix this, just right-click on the filename in the file-list and choose "Select Grammar->CPP" from the popup menu.

    from a cpp point of view I would love to see a class explorer which would allow quick navigation in huge configs.
    You can already use simple text search but it would be fairly straightforward to add a right-click option to show both parents and owners. For example if you right-clicked on 'class myMagazine' you might get a little dialog showing....

    Owners: Magazines>>USMagazines>>SD>>myMagazine
    Parents: myMagazine:myDefaultMag:30rndStandardMag:Magazine

    More interesting would be the ability to 'jump to parent/owner' from a right click. I don't work with configs a lot so let me know what kinds of things would be useful.
    Please enable "Browse" for folder ASAP.
    Can you be a bit more specific ? Are you talking about the "File->add to project->Folder" browser ? It's a bit rubbish - will look at changing it. Tbh I never use "File-add To project", it's much easier just to drag files, folders or pbo's from the desktop into the file-list to add them to the project.

    - This is not important unless you have OCD or something like that. If you do have something like that then this: When changing the font type you have to write a character or something similar to get the text in the window to change.
    Good catch - will add to the list.
    Last edited by sbsmac; Aug 20 2010 at 08:10.
    Author of PVPmissionWizard ArmA2FPSAnalyser AddonChecker and ... squint

    Tools homepage

    Crosseyed and Painless - a blog about my ArmA2 developments



  6. #26
    Quote Originally Posted by sbsmac View Post
    Obviously some of you never had to work with white/green on black monochrome 40x25 monitors back in the day..... ;-) And you should be grateful I changed the font away from 'Comic Sans' which I'd been using as a placeholder during development.
    HaHaHaHa! Yea, seriously, it was not just the monitors getting burn in.

    Quote Originally Posted by sbsmac View Post
    Can you be a bit more specific ? Are you talking about the "File->add to project->Folder" browser ? It's a bit rubbish - will look at changing it. Tbh I never use "File-add To project", it's much easier just to drag files, folders or pbo's from the desktop into the file-list to add them to the project.
    Yea, that's the one, sorry, didn't know you could drag.

    BTW, why does it keep coughing at these?:

    #include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp "

    Says: "Missing semi-colon or operator"

    Also, right click copy and paste might help allot of folks and perhaps a switch to hpp/sqf mode there too someday.

    But again, it's wonderful, just shaved some time off for sure and fixed quite a few issues as well.

  7. #27
    Master Gunnery Sergeant
    Join Date
    Aug 24 2003
    Posts
    1,292
    Author of the Thread
    BTW, why does it keep coughing at these?:

    #include "Scripts\TeamStatusDialog\TeamStatusDialog.hpp "

    Says: "Missing semi-colon or operator"
    There's something it doesn't like inside that included file. The easiest way to figure it out is to switch to preprocessed view (the '#' toolbar button) and highlight the error. Note though you can't edit stuff in preprocessed view for the reasons outlined in the FAQ

    Also, right click copy and paste might help allot of folks and perhaps a switch to hpp/sqf mode there too someday.
    CTRL-C, CTRL-V, CTRL-X all work in the code-window :-) You can switch between cpp/sqf mode by right-clicking on the filename in the file-list. The choice of grammar is persistent so it'll be remembered next time you start up the project. The fact that hpp files start in 'sqf' mode is a bug which I'll fix shortly.

  8. #28
    Squint save lives people! Use it.

    Especially if you can't count/match your brackets and braces.
    Documentation is not a dirty word.
    : TeamSPAFF : PRACS : RKSL : Stella Artois : Creme Eggs : GITS :

  9. #29
    Master Gunnery Sergeant
    Join Date
    Aug 24 2003
    Posts
    1,292
    Author of the Thread
    Especially if you can't count/match your brackets and braces.
    Just added a new feature just for you ! Right-click anywhere in the code-window and select 'highlight bracketed area' and the squint will highlight the extent of the immediately-surrounding brackets. This works with normal brackets '(', braces '{' and arrays '['.

  10. #30
    LOL, just for me? Are you suggesting I'm the only muppet who can't count?

Page 3 of 47 FirstFirst 123456713 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •