Get rid of .github folder from project tree in PhpStorm

In 2024 it is as simple as two steps and a couple of clicks.

These two steps are:

  • Right-click .github and select: Mark directory asExcluded
  • Click three-dot button and uncheck AppearanceExcluded Files

The Excluded Files list is per-project setting, so you must repeat these steps for each of your projects.

This is, of course, purely visual fix, to hide a folder. If you want to ignore it, you must use the usual way of adding it to .gitignore folder.

white painted papers

New PDF viewer in Edge doesn’t support OCR at all

Microsoft has rolled out a new update to Edge. It includes something called “New PDF Viewer”:

New PDF Viewer

Enables the new experimental version of PDF reader. — Mac, Windows

#edge-new-pdf-viewer

Sadly, the new experimental version of PDF reader doesn’t support OCR at all.

You can open any of your existing or newly created PDFs. If it contains any text layer, you won’t be able to notice it. Neither trying to select any piece of document with mouse or pressing Ctrl+A have any result.

Read More “New PDF viewer in Edge doesn’t support OCR at all”

The magic of JSON on-line tools

Found some great tools of JSONCompare, JSON Editor, JSON Studio and JSON Viewer. Here is a note to future self, in case I’d have to use them in any project.

  • JSONCompare:
  • JSON Editor Online:
    • Edit JSON files in fully WYSIWYG mode with a lot of useful tools
    • Whole JSON or selected part can be edited as: plain text, tree or table
    • Save JSON data to cloud (1 MB limit) or to file, send as URL, export to CSV where possible
    • For 3 USD per month you get add-free and for 6 USD per month you can save private JSONs to the cloud
  • JSON Studio:
    • Is slow and has some bugs, but also has some fabulous features
    • Can minify and format (beautify) JSON with one click (Others button)
    • Tracks history of your edits which can save your ass in some situations
    • Can render JSON as a graphic tree (click Zoom+ or Zoom- if nothing seems rendered)
    • Can render JSON as an expandable table / grid (for nested objects has a bug and shows only first column)
    • Can generate a class diagram of DB structure (with relations!) to store your JSON in database
    • Can convert between JSON, YAML and CSV both ways (nested objects can’t be exported to CSV)
    • Also can compare two JSONs and look for possible differencies
  • JSON Viewer can only validate correctness of a JSON and beautify it

Well… that would all folks! :)