             ((name . "Functions")
              (candidates . functions)
              (action . rtags-helm-jump-to-line))
-            ((name . "Variables")
+            ((name . ,(if rtags-helm-show-variables "Fields and Variables" "Fields"))
              (candidates . variables)
              (action . rtags-helm-jump-to-line))
             ((name . "Enums")

;;;                current file using Helm.
;;; -------------- -------------------------------------------------------

(require 'helm)

(defun rtags-helm-jump-to-line (line)
  (goto-line line)

                   (propertize (concat "<" file ">") 'face 'font-lock-string-face))))
        (t text)))

;;;###autoload
(defun rtags-helm-select-taglist ()
  "Display the list of symbols of the current file in an Helm
buffer (classes, functions, variables, enums and other)"
  (interactive)
  (let* ((fn (buffer-file-name))
