1
alain01
Which editor do you use ?
  • 2019/12/12 2:02

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


hi,
i usually use notepad++]Resized Image
to edit all xoops files (tpl, php, css).
I just try the atom editor https://atom.io/Resized Image
.
I know sublime text but it's not free.
Please, let me know wich editor do you use, and why (list advantages and inconvenients).
Is there any editor with XOOPS plugin language (smarty and others xoops words) ?

2
Mamba
Re: Which editor do you use ?
  • 2019/12/12 5:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


PhpStorm is the best ever!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
goffy
Re: Which editor do you use ?
  • 2019/12/12 6:57

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


I use also phpstorm, because with this tool you can immediately debug your code, can run code cleaning,....

4
geekwright
Re: Which editor do you use ?

PhpStorm is my tool of choice for everything XOOPS related. It is awesome!

In the free realm, Visual Studio Code is a very solid and powerful product.

5
alain01
Re: Which editor do you use ?
  • 2019/12/12 14:20

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


Ok, so
i test both edidors this weekend.
Is there any snippets, extension for XOOPS, for
PhPstorm and Visual Studio Code ? (didnt find)

(XMF words, xoops smarty) ?

I think it's easy to create that from a duplicated template from other CMS and changing words keys...
Right ?

6
zyspec
Re: Which editor do you use ?
  • 2019/12/12 17:26

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I typically use Eclipse PDT.... I like it because:
  • there are versions for both Windows and Linux - so it's easy to switch between my various systems.
  • easy to create/modify coding styles (modified PSRxx, etc)
  • it's free
  • easily "jump-to" referenced functions
  • customized syntax highlighting for PHP, JS, XML, MySQL, etc
  • refactoring
  • GitHub integration (easy to pull/push/commit/etc)
  • Composer support
  • Good build/run tools
  • Eclipse community support
  • Bug/Issue tracking integration
  • code completion


  • The one drawback is lack of Smarty syntax support - there's a plugin for it but it's old & doesn't work well.

    I also use Notepad++ for a quick editor when needed. PHPStorm is a good product too but I haven't found enough difference/advantage to it that would cause me to change from Eclipse (and pay the money).

    7
    geekwright
    Re: Which editor do you use ?

    Quote:

    alain01 wrote:
    ...
    Is there any snippets, extension for XOOPS, for
    PhPstorm and Visual Studio Code ? (didnt find)

    (XMF words, xoops smarty) ?
    ...


    With VSCode, you will want to install the PHP IntelliSense extension. (It will offer useful extensions when you open a file type for the first time,)

    With both PHPStorm and VSCode (and Eclipse as I recall,) you will open a directory (i.e. your XoopsCore25 clone.) The first thing that will happen is the program will build an index of all the files in that directory. From that index, it will know in most cases all the functions, classes, and variables by type and signature. That enables auto-completion, parameter hints and easy access to documentation blocks. Those features are one of the reasons for making the move from simple editors to integrated development environments (IDE)

    8
    alain01
    Re: Which editor do you use ?
    • 2019/12/13 0:52

    • alain01

    • Just can't stay away

    • Posts: 536

    • Since: 2003/6/20


    Quote:

    geekwright wrote:
    The first thing that will happen is the program will build an index of all the files in that directory. From that index, it will know in most cases all the functions, classes, and variables by type and signature. That enables auto-completion, parameter hints and easy access to documentation blocks.
    Haaaaa, ok, thanks for this very usefull detail

    9
    alain01
    Re: Which editor do you use ?
    • 2019/12/13 14:30

    • alain01

    • Just can't stay away

    • Posts: 536

    • Since: 2003/6/20


    Quote:

    goffy wrote:
    I use also phpstorm, because with this tool you can immediately debug your code, can run code cleaning,....
    Ok, i see "Run / Edit configuration"...

    Could you explain to me in 3 or 4 sentences (and for the other readers how you can debug the code ?
    May be with an example, i could understand easily.

    10
    Jess2kWade
    Re: Which editor do you use ?
    • 2021/10/6 8:47

    • Jess2kWade

    • Just popping in

    • Posts: 1

    • Since: 2021/10/6


    It depends on the language and the addon's quality. For example, JS and TS are directly integrated and function flawlessly with all of the capabilities you mention, and I've heard the C# version is also extremely excellent.

    However, I recall finding PHP and Ruby with Sublime and Atom to be a pain to use, so I always returned to Jetbrains. I'm not sure what the VS Code equivalents are.

    Login

    Who's Online

    386 user(s) are online (237 user(s) are browsing Support Forums)


    Members: 0


    Guests: 386


    more...

    Donat-O-Meter

    Stats
    Goal: $100.00
    Due Date: Nov 30
    Gross Amount: $0.00
    Net Balance: $0.00
    Left to go: $100.00
    Make donations with PayPal!

    Latest GitHub Commits