{"action":"created","issue":{"url":"https://api.github.com/repos/coala/coala-bears/issues/1225","repository_url":"https://api.github.com/repos/coala/coala-bears","labels_url":"https://api.github.com/repos/coala/coala-bears/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/coala/coala-bears/issues/1225/comments","events_url":"https://api.github.com/repos/coala/coala-bears/issues/1225/events","html_url":"https://github.com/coala/coala-bears/issues/1225","id":198122516,"number":1225,"title":"CSSLintBear:  Error while adding ignore comment","user":{"login":"hemangsk","id":13018570,"avatar_url":"https://avatars.githubusercontent.com/u/13018570?v=3","gravatar_id":"","url":"https://api.github.com/users/hemangsk","html_url":"https://github.com/hemangsk","followers_url":"https://api.github.com/users/hemangsk/followers","following_url":"https://api.github.com/users/hemangsk/following{/other_user}","gists_url":"https://api.github.com/users/hemangsk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemangsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemangsk/subscriptions","organizations_url":"https://api.github.com/users/hemangsk/orgs","repos_url":"https://api.github.com/users/hemangsk/repos","events_url":"https://api.github.com/users/hemangsk/events{/privacy}","received_events_url":"https://api.github.com/users/hemangsk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-30T09:12:01Z","updated_at":"2016-12-30T21:43:53Z","closed_at":"2016-12-30T21:43:53Z","body":"Steps for reproduction:\r\n\r\n1. Create file style.css\r\n```\r\n.low{\r\nfont-family:Roboto;\r\ncolor:white;\r\n}\r\n\r\n```\r\n2. Execute `coala --bears CSSLintBear --files style.css`\r\n```\r\nstyle.css\r\n|   1| .low•{\r\n|    | [NORMAL] CSSLintBear:\r\n|    | Rule doesn't have all its properties in alphabetical order. (order-alphabetical)\r\n|    | *0: Do nothing\r\n|    |  1: Open file(s)\r\n|    |  2: Add ignore comment\r\n|    | Enter number (Ctrl-D to exit): 2\r\n|    | Please enter a value for the parameter 'language' (No description given.): css\r\n[ERROR][14:26:06] Failed to execute the action IgnoreResultAction with error: 'comment_delimiter'.\r\n|    | *0: Do nothing\r\n|    |  1: Open file(s)\r\n|    |  2: Add ignore comment\r\n|    | Enter number (Ctrl-D to exit): 2\r\n|    | Please enter a value for the parameter 'language' (No description given.): css\r\n[ERROR][14:26:13] Failed to execute the action IgnoreResultAction with error: 'comment_delimiter'.\r\n|    | *0: Do nothing\r\n|    |  1: Open file(s)\r\n|    |  2: Add ignore comment\r\n|    | Enter number (Ctrl-D to exit): 2\r\n|    | Please enter a value for the parameter 'language' (No description given.): scss\r\n[ERROR][14:26:19] Failed to execute the action IgnoreResultAction with error: .\r\n```\r\nIt is asking for the parameter 'language' from the user and then if there is no language found with name `css`, it returns \r\n```\r\nFailed to execute the action IgnoreResultAction with error: 'comment_delimiter'.\r\n```\r\n\r\nI've been thinking about a few things we can improve here,\r\n\r\n- Better message while asking language, \r\nInstead of\r\n```\r\nPlease enter a value for the parameter 'language' (No description given.): \r\n```\r\nSomething like\r\n```\r\nPlease enter description for the following parameters,\r\nLanguage : \r\n```\r\n\r\n- The Error message can also be formatted in the same way,\r\n```\r\n Failed to execute the action IgnoreResultAction with error: 'comment_delimiter'.\r\n```\r\nto\r\n```\r\nCan't find the following attributes for this language,\r\ncomment_delimiters\r\n\r\nUnable to execute the IgnoreResultAction.\r\n```\r\nWhat do you say team?"},"comment":{"url":"https://api.github.com/repos/coala/coala-bears/issues/comments/269825565","html_url":"https://github.com/coala/coala-bears/issues/1225#issuecomment-269825565","issue_url":"https://api.github.com/repos/coala/coala-bears/issues/1225","id":269825565,"user":{"login":"hemangsk","id":13018570,"avatar_url":"https://avatars.githubusercontent.com/u/13018570?v=3","gravatar_id":"","url":"https://api.github.com/users/hemangsk","html_url":"https://github.com/hemangsk","followers_url":"https://api.github.com/users/hemangsk/followers","following_url":"https://api.github.com/users/hemangsk/following{/other_user}","gists_url":"https://api.github.com/users/hemangsk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemangsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemangsk/subscriptions","organizations_url":"https://api.github.com/users/hemangsk/orgs","repos_url":"https://api.github.com/users/hemangsk/repos","events_url":"https://api.github.com/users/hemangsk/events{/privacy}","received_events_url":"https://api.github.com/users/hemangsk/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T21:43:53Z","updated_at":"2016-12-30T21:43:53Z","body":"Moving the discussion to [coala/coala](https://github.com/coala/coala/issues/3441)"}}
{"actor":{"display_login":"hemangsk"}}