ack3 icon indicating copy to clipboard operation
ack3 copied to clipboard

Add new type: QML

Open shaforostoff opened this issue 5 years ago • 2 comments

https://en.wikipedia.org/wiki/QML QML is a user interface markup language. It is a declarative language (similar to CSS and JSON) for designing user interface–centric applications. Inline JavaScript code handles imperative aspects. It is associated with Qt Quick, the UI creation kit originally developed by Nokia within the Qt framework. Qt Quick is used for mobile applications where touch input, fluid animations and user experience are crucial.

I suggest to also include .qrc extension because in QML files are added to application by including them in qrc file

Another extension that would make sense to include is .js, since .qml file can import .js files

--type-set=qml:ext:qml,qrc,js

shaforostoff avatar Apr 05 '20 17:04 shaforostoff

Do you have a custom file type set up in your .ackrc? What is it? How long have you been using it? Is your use case to only search QML files, or to exclude them?

petdance avatar Apr 05 '20 17:04 petdance

I have written .ackrc just recently. Normally I wouldn't need to exclude qml files from search, instead I would use --cpp or --cmake.

Oh, and another extension that would make sense is .js, since .qml file can import .js files

shaforostoff avatar Apr 05 '20 17:04 shaforostoff